mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
BUGFIX: Fixed ajax fetching of SubsiteTreeDropdownField (from r90007)
This commit is contained in:
parent
cdf71074bf
commit
df1eb95a2a
@ -49,7 +49,7 @@ SubsitesTreeDropdownField.prototype = {
|
|||||||
while (tree && !tree.className.match(/(^| )SubsitesTreeDropdownField( |$)/)) tree = tree.parentNode;
|
while (tree && !tree.className.match(/(^| )SubsitesTreeDropdownField( |$)/)) tree = tree.parentNode;
|
||||||
|
|
||||||
// Customized: Append subsiteid (evaluated in SubsitesVirtualPage.php)
|
// 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());
|
||||||
ajaxURL += $('SecurityID') ? '&SecurityID=' + $('SecurityID').value : '';
|
ajaxURL += $('SecurityID') ? '&SecurityID=' + $('SecurityID').value : '';
|
||||||
|
|
||||||
new Ajax.Request(ajaxURL, {
|
new Ajax.Request(ajaxURL, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user