Pman.Tab.AdminContactsManager.bjs
[Pman.Admin] / Pman.Tab.AdminContactsManager.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5
6
7 // register the module first
8 Pman.on('beforeload', function()
9 {
10     Pman.register({
11         part :  ["Admin","ContactsManager"],
12         modKey : '060-Pman.Tab.AdminContactsManager',
13         module : Pman.Tab.AdminContactsManager,
14         region : 'center',
15         parent : Pman.Tab.Admin,
16         name : "Pman.Tab.AdminContactsManager",
17         disabled : false, 
18         permname: 'Core.Person' 
19     });
20 });
21
22 Pman.Tab.AdminContactsManager = new Roo.util.Observable({
23
24     panel : false,
25     disabled : false,
26     parentLayout:  false,
27
28     add : function(parentLayout, region)
29     {
30
31         var _this = this;
32         this.parentLayout = parentLayout;
33
34         this.panel = parentLayout.addxtype({
35             xtype: 'NestedLayoutPanel',
36             xns: Roo,
37             background : true,
38             region : 'center',
39             title : (function() {
40                 return _this.title || "Contacts Manager";
41             })(),
42             layout : {
43                 xtype: 'BorderLayout',
44                 xns: Roo,
45                 west : {
46                     xtype: 'LayoutRegion',
47                     xns: Roo,
48                     split : true,
49                     width : 251
50                 },
51                 center : {
52                     xtype: 'LayoutRegion',
53                     xns: Roo,
54                     tabPosition : 'top'
55                 }
56             }
57         });
58         this.layout = this.panel.layout;
59
60     }
61 });