1 //<script type="text/javascript">
5 * Tab for clipping stuff - top lvl..
10 Pman.on('beforeload', function()
12 if (!Pman.hasPerm('Ftp.Ftp', 'S') || Pman.Tab.FtpTab.disabled) {
18 modKey : '017-pman-tab-ftptab',
19 module : Pman.Tab.FtpTab,
24 finalize : function() {
26 var _this = Pman.Tab.FtpTab;
31 _this.layout.endUpdate();
32 //_p.refreshPager.defer(1000, _p);
47 add : function(parentLayout, region)
50 if (!Pman.hasPerm('Ftp.Ftp', 'S') || this.disabled) {
57 this.layout = new Ext.BorderLayout(
58 parentLayout.getEl().createChild({tag:'div'}),
76 alwaysShowTabs: false,
86 this.tab = parentLayout.add(region, new Ext.NestedLayoutPanel(
87 this.layout, { title: "Ftp"
91 this.tab.on('activate', function() {
92 _this.layout.getRegion('west').showPanel(0);
93 _this.layout.getRegion('center').showPanel(0);
95 this.layout.beginUpdate();
97 //this.adminLayout.beginUpdate();