mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
BUGFIX: Fixed ajax fetching of SubsiteTreeDropdownField (from r90007) (from r96325)
This commit is contained in:
parent
4bcde95db2
commit
5e5dbff1d4
@ -45,7 +45,7 @@ SubsitesTreeDropdownField.prototype = {
|
||||
while (tree && !tree.className.match(/(^| )SubsitesTreeDropdownField( |$)/)) tree = tree.parentNode;
|
||||
|
||||
// Customized: Append subsiteid (evaluated in SubsitesVirtualPage.php)
|
||||
ajaxURL += '&' + this.inputTag.name + '_SubsiteID=' + parseInt(this.tree.options.dropdownField.subsiteID());
|
||||
ajaxURL += '&' + this.options.dropdownField.inputTag.name + '_SubsiteID=' + parseInt(this.options.dropdownField.subsiteID());
|
||||
|
||||
new Ajax.Request(ajaxURL, {
|
||||
onSuccess : this.installSubtree.bind(this),
|
||||
|
Loading…
Reference in New Issue
Block a user