BUGFIX: Fix trac/7485

This commit is contained in:
Hamish Friedlander 2012-06-18 10:23:04 +12:00
parent 417c03716c
commit c12db51c22
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');