mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
BUGFIX: Fixed bug with ajax-expansion of subsite tree dropdown. (from r97514)
This commit is contained in:
parent
7d9b6fa9bf
commit
ee11811d02
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user