Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Quoting jQuery selectors in TreeDropdownField.js to allow for n…

…on-numeric identifiers
  • Loading branch information...
commit 4d12803a0eaad3d7529549cda83adfcae290bf7b 1 parent c10ebe0
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  javascript/TreeDropdownField.js
View
2  javascript/TreeDropdownField.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.