BUGFIX: Improved reliability of SubsiteTreeDropdownField (by getvar length shorter) (from r89840) (from r96318)

This commit is contained in:
Tom Rix 2010-03-01 22:21:55 +00:00
parent 5ed8e71160
commit e7add11e4e

View File

@ -45,7 +45,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.id + '_SubsiteID=' + parseInt(this.tree.options.dropdownField.subsiteID()); ajaxURL += '&' + this.inputTag.name + '_SubsiteID=' + parseInt(this.tree.options.dropdownField.subsiteID());
new Ajax.Request(ajaxURL, { new Ajax.Request(ajaxURL, {
onSuccess : this.installSubtree.bind(this), onSuccess : this.installSubtree.bind(this),