Merge branch 'trac/7485' of https://github.com/silverstripe-rebelalliance/sapphire into silverstripe-rebelalliance-trac/7485

This commit is contained in:
Ingo Schommer 2012-06-18 00:27:23 +02:00
commit 69ae8266ef
2 changed files with 6 additions and 2 deletions

View File

@ -32,7 +32,7 @@
fromTree: {
onselect_node: function(e, data){
self.refresh(data.rslt.obj);
this.refresh(data.rslt.obj);
}
},

View File

@ -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');