From fa5cac6fa9882b49dbc67d4e137617e5e5e4720b Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 25 Jul 2012 12:31:52 +0800 Subject: [PATCH] Pman.Tab.AdminContactsGroup.bjs Pman.Tab.AdminContactsGroup.js --- Pman.Tab.AdminContactsGroup.bjs | 4 ++-- Pman.Tab.AdminContactsGroup.js | 42 ++++++++++----------------------- 2 files changed, 14 insertions(+), 32 deletions(-) diff --git a/Pman.Tab.AdminContactsGroup.bjs b/Pman.Tab.AdminContactsGroup.bjs index 325427c..77f15f2 100644 --- a/Pman.Tab.AdminContactsGroup.bjs +++ b/Pman.Tab.AdminContactsGroup.bjs @@ -1,9 +1,9 @@ { - "id": "roo-file-9", + "id": "roo-file-92", "name": "Pman.Tab.AdminContactsGroup", "parent": "Pman.Tab.AdminContactsManager", "title": "Pman.Tab.AdminContactsGroup", - "path": "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminContactsGroup.bjs", + "path": "/home/chris/gitlive/Pman.Admin/Pman.Tab.AdminContactsGroup.bjs", "items": [ { "listeners": { diff --git a/Pman.Tab.AdminContactsGroup.js b/Pman.Tab.AdminContactsGroup.js index 77741fc..5490045 100644 --- a/Pman.Tab.AdminContactsGroup.js +++ b/Pman.Tab.AdminContactsGroup.js @@ -2,35 +2,19 @@ // Auto generated file - created by app.Builder.js- do not edit directly (at present!) - - -// register the module first -Pman.on('beforeload', function() -{ - Pman.register({ - modKey : '001-Pman.Tab.AdminContactsGroup', - module : Pman.Tab.AdminContactsGroup, - region : 'center', - parent : Pman.Tab.AdminContactsManager, - name : "Pman.Tab.AdminContactsGroup", - disabled : false, - permname: '' - }); -}); - -Pman.Tab.AdminContactsGroup = new Roo.util.Observable({ - - panel : false, - disabled : false, - parentLayout: false, - - add : function(parentLayout, region) +Pman.Tab.AdminContactsGroup = new Roo.XComponent({ + part : ["Admin","ContactsGroup"], + order : '001-Pman.Tab.AdminContactsGroup', + region : 'center', + parent : 'Pman.Tab.AdminContactsManager', + name : "Pman.Tab.AdminContactsGroup", + disabled : false, + permname : '', + _tree : function() { - var _this = this; - this.parentLayout = parentLayout; - - this.panel = parentLayout.addxtype({ + var MODULE = this; + return { xtype: 'GridPanel', xns: Roo, listeners : { @@ -437,8 +421,6 @@ Pman.Tab.AdminContactsGroup = new Roo.util.Observable({ ddGroup : 'groupDD' } } - }); - this.layout = this.panel.layout; - + }; } }); -- 2.39.2