Permalink
Browse files

BUGFIX: Fix trac/7485

  • Loading branch information...
Hamish Friedlander
Hamish Friedlander committed Jun 17, 2012
1 parent 417c037 commit c12db51c22109713d254d2629cd1517dd3d89556
Showing with 6 additions and 2 deletions.
  1. +1 −1 admin/javascript/LeftAndMain.AddForm.js
  2. +5 −1 admin/javascript/LeftAndMain.Tree.js
@@ -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');

0 comments on commit c12db51

Please sign in to comment.