give tree a way to call back to admin
This commit is contained in:
parent
18bb5a1ae5
commit
393520688b
1 changed files with 3 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ WebGUI.Admin = function(cfg){
|
|||
self.afterNavigate.subscribe( self.requestUpdateCurrentVersionTag, self );
|
||||
self.requestUpdateCurrentVersionTag();
|
||||
|
||||
self.tree = new WebGUI.Admin.Tree();
|
||||
self.tree = new WebGUI.Admin.Tree(self);
|
||||
};
|
||||
|
||||
// Get I18N
|
||||
|
|
@ -1012,7 +1012,8 @@ WebGUI.Admin.LocationBar.prototype.swapForwardToBack
|
|||
*/
|
||||
|
||||
WebGUI.Admin.Tree
|
||||
= function(){
|
||||
= function(admin){
|
||||
this.admin = admin;
|
||||
var selectAllCheck = document.createElement( 'input' );
|
||||
selectAllCheck.id = 'treeSelectAllCheckbox';
|
||||
selectAllCheck.type = "checkbox";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue