Pman.Tab.BAdminIPAccess.bjs
authoredward <edward@roojs.com>
Wed, 21 Feb 2018 06:25:18 +0000 (14:25 +0800)
committeredward <edward@roojs.com>
Wed, 21 Feb 2018 06:25:18 +0000 (14:25 +0800)
Pman.Tab.BAdminIPAccess.js

Pman.Tab.BAdminIPAccess.bjs
Pman.Tab.BAdminIPAccess.js

index b955d3b..61b9195 100644 (file)
@@ -7,7 +7,6 @@
  "modOrder" : "006",
  "strings" : {
   "ce8ae9da5b7cd6c3df2929543a9af92d" : "Email",
-  "ec211f7c20af43e742bf2570c3cb84f9" : "Add",
   "86f16ddf147752b95ffe69e2dfa769a1" : "Authorized By",
   "ec53a8c4f07baed5d8825072c89799be" : "Status",
   "7dce122004969d56ae2e0245cb754d35" : "Edit",
                    "xtype" : "Column",
                    "$ xns" : "Roo.bootstrap",
                    "items" : [
-                    {
-                     "listeners" : {
-                      "click" : "function (_self, e)\n{\n    var sel = _this.type_grid.getSelectionModel().getSelected();\n    \n    if(!sel || sel.data.id * 1 < 1 || !sel.data.name.length ){\n        Roo.bootstrap.MessageBox.alert('Error', 'Please select a type');\n        return;\n    }\n\n    Pman.Dialog.BAdminCoreEnum.show({ \n        id : 0,\n        etype : sel.data.name\n    }, function(res) {\n        _this.option_grid.store.load({});\n    });\n\n}"
-                     },
-                     "String cls" : "roo-toolbar-button",
-                     "String weight" : "default",
-                     "xtype" : "Button",
-                     "$ xns" : "Roo.bootstrap",
-                     "String html" : "Add",
-                     "String glyphicon" : "plus"
-                    },
                     {
                      "listeners" : {
                       "render" : "function (_self)\n{\n    _this.edit_btn = this;\n    \n    this.hide();\n}",
index 0fb2def..17cebb0 100644 (file)
@@ -8,7 +8,6 @@ Pman.Tab.BAdminIPAccess = new Roo.XComponent({
 
  _strings : {
   'ce8ae9da5b7cd6c3df2929543a9af92d' :"Email",
-  'ec211f7c20af43e742bf2570c3cb84f9' :"Add",
   '86f16ddf147752b95ffe69e2dfa769a1' :"Authorized By",
   'ec53a8c4f07baed5d8825072c89799be' :"Status",
   '7dce122004969d56ae2e0245cb754d35' :"Edit",
@@ -105,34 +104,6 @@ Pman.Tab.BAdminIPAccess = new Roo.XComponent({
                  xns : Roo.bootstrap,
                  '|xns' : 'Roo.bootstrap',
                  items  : [
-                  {
-                   xtype : 'Button',
-                   cls : 'roo-toolbar-button',
-                   glyphicon : 'plus',
-                   html : _this._strings['ec211f7c20af43e742bf2570c3cb84f9'] /* Add */,
-                   weight : 'default',
-                   listeners : {
-                    click : function (_self, e)
-                     {
-                         var sel = _this.type_grid.getSelectionModel().getSelected();
-                         
-                         if(!sel || sel.data.id * 1 < 1 || !sel.data.name.length ){
-                             Roo.bootstrap.MessageBox.alert('Error', 'Please select a type');
-                             return;
-                         }
-                     
-                         Pman.Dialog.BAdminCoreEnum.show({ 
-                             id : 0,
-                             etype : sel.data.name
-                         }, function(res) {
-                             _this.option_grid.store.load({});
-                         });
-                     
-                     }
-                   },
-                   xns : Roo.bootstrap,
-                   '|xns' : 'Roo.bootstrap'
-                  },
                   {
                    xtype : 'Button',
                    cls : 'roo-toolbar-button',