mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #475 from mateusz/entwines4
BUGFIX: add missing selectors and namespace qualifiers
This commit is contained in:
commit
f1873b7b43
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user