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             listeners : {
37                 activate : function (_self)
38                 {
39                     if (_this.title) {
40                         this.setTitle(_this.title);
41                     }
42                 }
43             },
44             background : true,
45             region : 'center',
46             title : "Contacts Manager",
47             layout : {
48                 xtype: 'BorderLayout',
49                 xns: Roo,
50                 west : {
51                     xtype: 'LayoutRegion',
52                     xns: Roo,
53                     split : true,
54                     width : 250
55                 },
56                 center : {
57                     xtype: 'LayoutRegion',
58                     xns: Roo,
59                     tabPosition : 'top'
60                 }
61             }
62         });
63         this.layout = this.panel.layout;
64
65     }
66 });