mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Quoting jQuery selectors in TreeDropdownField.js to allow for non-numeric identifiers
This commit is contained in:
parent
c10ebe04da
commit
4d12803a0e
@ -133,7 +133,7 @@
|
|||||||
.jstree('destroy')
|
.jstree('destroy')
|
||||||
.bind('loaded.jstree', function(e, data) {
|
.bind('loaded.jstree', function(e, data) {
|
||||||
var val = self.getValue();
|
var val = self.getValue();
|
||||||
if(val) data.inst.select_node(treeHolder.find('*[data-id=' + val + ']'));
|
if(val) data.inst.select_node(treeHolder.find('*[data-id="' + val + '"]'));
|
||||||
data.inst.open_all();
|
data.inst.open_all();
|
||||||
firstLoad = false;
|
firstLoad = false;
|
||||||
if(callback) callback.apply(self);
|
if(callback) callback.apply(self);
|
||||||
|
Loading…
Reference in New Issue
Block a user