BUGFIX: Fixed bug with ajax-expansion of subsite tree dropdown. (from r97514)

This commit is contained in:
Tom Rix 2010-03-01 22:34:12 +00:00
parent 7d9b6fa9bf
commit ee11811d02

View File

@ -35,7 +35,7 @@ SubsitesTreeDropdownField.prototype = {
var ul = this.treeNodeHolder();
ul.innerHTML = ss.i18n._t('LOADING');
var ajaxURL = this.buildURL('getsubtree?SubtreeRootID=' + this.getIdx());
var ajaxURL = this.options.dropdownField.buildURL('getsubtree?SubtreeRootID=' + this.getIdx());
// Find the root of the tree - this points to a list item in the tree, not the root div we actually want
// @todo: We should be using framework API calls to find the tree