Skip to content

Commit

Permalink
MINOR Quoting jQuery selectors in TreeDropdownField.js to allow for n…
Browse files Browse the repository at this point in the history
…on-numeric identifiers
  • Loading branch information
chillu committed Jan 4, 2012
1 parent c10ebe0 commit 4d12803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/TreeDropdownField.js
Expand Up @@ -133,7 +133,7 @@
.jstree('destroy')
.bind('loaded.jstree', function(e, data) {
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();
firstLoad = false;
if(callback) callback.apply(self);
Expand Down

0 comments on commit 4d12803

Please sign in to comment.