Pman.Tab.bjs
authorEdward <edward@roojs.com>
Mon, 17 Sep 2018 03:24:26 +0000 (11:24 +0800)
committerEdward <edward@roojs.com>
Mon, 17 Sep 2018 03:24:26 +0000 (11:24 +0800)
Pman.Tab.js

Pman.Tab.bjs
Pman.Tab.js

index 600748f..e557fc1 100644 (file)
                    "items" : [
                     {
                      "listeners" : {
-                      "render" : "function (_self)\n{\n    _this.super_admin_btn = this;\n    \n    Roo.log(this.hide);\n    this.hide();\n}",
+                      "render" : "function (_self)\n{\n    _this.super_admin_btn = this;\n    \n    Roo.log(this.hide);\n    this.el.hide();\n}",
                       "click" : "function (_self, e)\n{\n    window.open(baseURL + '?_super_admin=1','_self');\n}"
                      },
                      "String weight" : "link",
index ef563ed..0705ab5 100644 (file)
@@ -226,7 +226,7 @@ Pman.Tab = new Roo.XComponent({
                           _this.super_admin_btn = this;
                           
                           Roo.log(this.hide);
-                          this.hide();
+                          this.el.hide();
                       }
                     },
                     xns : Roo.bootstrap,