Pman.Tab.AdminLogs.bjs
[Pman.Admin] / Pman.Tab.AdminLogs.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","Logs"],
12         modKey : '999-Pman.Tab.AdminLogs',
13         module : Pman.Tab.AdminLogs,
14         region : 'center',
15         parent : Pman,
16         name : "Logs",
17         disabled : false, 
18         permname: '' 
19     });
20 });
21
22 Pman.Tab.AdminLogs = 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             listeners : {
38                 activate : function (_self)
39                 {
40                     var cr = this.layout.getRegion('center');
41                     if (cr) {
42                         cr.showPanel(cr.activePanel);
43                     }
44                 }
45             },
46             background : true,
47             fitToFrame : true,
48             region : 'center',
49             title : "Logs",
50             layout : {
51                 xtype: 'BorderLayout',
52                 xns: Roo,
53                 center : {
54                     xtype: 'LayoutRegion',
55                     xns: Roo,
56                     titlebar : false,
57                     tabPosition : 'top'
58                 }
59             }
60         });
61         this.layout = this.panel.layout;
62
63     }
64 });