mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch 'trac/7485' of https://github.com/silverstripe-rebelalliance/sapphire into silverstripe-rebelalliance-trac/7485
This commit is contained in:
commit
69ae8266ef
@ -32,7 +32,7 @@
|
||||
|
||||
fromTree: {
|
||||
onselect_node: function(e, data){
|
||||
self.refresh(data.rslt.obj);
|
||||
this.refresh(data.rslt.obj);
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -100,7 +100,11 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
})
|
||||
// Make some jstree events delegatable
|
||||
.bind('select_node.jstree check_node.jstree', function(e, data) {
|
||||
$(document).triggerHandler(e, data);
|
||||
})
|
||||
},
|
||||
onremove: function(){
|
||||
this.jstree('destroy');
|
||||
|
Loading…
Reference in New Issue
Block a user