mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fix trac/7485
This commit is contained in:
parent
417c03716c
commit
c12db51c22
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
fromTree: {
|
fromTree: {
|
||||||
onselect_node: function(e, data){
|
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(){
|
onremove: function(){
|
||||||
this.jstree('destroy');
|
this.jstree('destroy');
|
||||||
|
Loading…
Reference in New Issue
Block a user