mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
8171b68292
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user