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,
23 finalize : function() {
25 var _this = Pman.Tab.FtpTab;
30 _this.layout.endUpdate();
31 //_p.refreshPager.defer(1000, _p);
46 add : function(parentLayout, region)
49 if (!Pman.hasPerm('Ftp.Ftp', 'S') || this.disabled) {
56 this.layout = new Ext.BorderLayout(
57 parentLayout.getEl().createChild({tag:'div'}),
75 alwaysShowTabs: false,
85 this.tab = parentLayout.add(region, new Ext.NestedLayoutPanel(
86 this.layout, { title: "Ftp"
90 this.tab.on('activate', function() {
91 _this.layout.getRegion('west').showPanel(0);
92 _this.layout.getRegion('center').showPanel(0);
94 this.layout.beginUpdate();
96 //this.adminLayout.beginUpdate();