Pman.Tab.AdminContactsManager.js
[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         modKey : '060-Pman.Tab.AdminContactsManager',
12         module : Pman.Tab.AdminContactsManager,
13         region : 'center',
14         parent : Pman.Tab.Admin,
15         name : "Pman.Tab.AdminContactsManager",
16         disabled : false, 
17         permname: 'Core.Person' 
18     });
19 });
20
21 Pman.Tab.AdminContactsManager = new Roo.util.Observable({
22
23     panel : false,
24     disabled : false,
25     parentLayout:  false,
26
27     add : function(parentLayout, region)
28     {
29
30         var _this = this;
31         this.parentLayout = parentLayout;
32
33         this.panel = parentLayout.addxtype({
34             xtype: 'NestedLayoutPanel',
35             xns: Roo,
36             background : true,
37             region : 'center',
38             title : (function() {
39                 return _this.title || "Contacts Manager";
40             })(),
41             layout : {
42                 xtype: 'BorderLayout',
43                 xns: Roo,
44                 west : {
45                     xtype: 'LayoutRegion',
46                     xns: Roo,
47                     split : true,
48                     width : 250
49                 },
50                 center : {
51                     xtype: 'LayoutRegion',
52                     xns: Roo,
53                     tabPosition : 'top'
54                 }
55             }
56         });
57         this.layout = this.panel.layout;
58
59     }
60 });