Merge pull request #475 from mateusz/entwines4

BUGFIX: add missing selectors and namespace qualifiers
This commit is contained in:
Sean Harvey 2012-05-21 17:08:27 -07:00
commit f1873b7b43

View File

@ -56,7 +56,10 @@
this._super(); this._super();
}, },
onunmatch: function() {
this._super();
}
/** /**
* Function: onsubmit * Function: onsubmit
* *
@ -123,7 +126,7 @@
origOptions = this.getOrigOptions(), origOptions = this.getOrigOptions(),
dropdown = this.find('select[name=PageType]'), dropdown = this.find('select[name=PageType]'),
disallowed = [], disallowed = [],
className = (selectedNode) ? selectedNode.getClassname() : null, className = (selectedNode.length>0) ? selectedNode.entwine('ss.tree').getClassname() : null,
siteTreeHints = $.parseJSON($('#sitetree_ul').attr('data-hints')), siteTreeHints = $.parseJSON($('#sitetree_ul').attr('data-hints')),
disableDropDown = true, disableDropDown = true,
selectedOption = dropdown.val(); selectedOption = dropdown.val();