Merge pull request #790 from patbolo/bugfix/7862

FIX 7862
This commit is contained in:
Ingo Schommer 2012-09-17 00:47:58 -07:00
commit 8171b68292

View File

@ -161,7 +161,7 @@
.jstree(self.getTreeConfig())
.bind('select_node.jstree', function(e, data) {
var node = data.rslt.obj, id = $(node).data('id');
if(!firstLoad && !self.getValue() == id) {
if(!firstLoad && !self.getValue() === id) {
// Value is already selected, unselect it (for lack of a better UI to do this)
self.data('metadata', null);
self.setTitle(null);