Based on looking at this function, I think line 465 in webform.views.inc should be:

'#dependency' => array('edit-options-component-type' => array($type_options)),

instead of
'#dependency' => array('edit-options-component-type' => array($type)),

Probably just a typo.

CommentFileSizeAuthor
#1 view_options-1902506.patch625 bytesjastraat

Comments

jastraat’s picture

Status: Active » Needs review
StatusFileSize
new625 bytes
quicksketch’s picture

Status: Needs review » Fixed

Thanks @jastraat! Actually I don't think this line does anything at all! It's probably left over from when I was first trying to figure out how to manage the dependency between the selected Webform NID and the component list. We ended up using an AJAX request instead of a CTools dependency, so I think we can just remove the line entirely (which is what I've done). Thanks for pointing this out!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.