Sha256: fe886cbe660e6fccd26267e3bd97f8d4d6e5f736be00cb2a1342507e3ab01e69

Contents?: true

Size: 1.32 KB

Versions: 16

Compression:

Stored size: 1.32 KB

Contents

Ext.define("Compass.ErpApp.Desktop.Applications.Knitkit.EastRegion",{
    extend:"Ext.tab.Panel",
    alias:'widget.knitkit_eastregion',
    
    constructor : function(config) {
        this.imageAssetsPanel = Ext.create('Compass.ErpApp.Desktop.Applications.Knitkit.ImageAssetsPanel', { module: config.module });
        this.widgetsPanel = Ext.create('Compass.ErpApp.Desktop.Applications.Knitkit.WidgetsPanel', { module: config.module });
        this.fileAssetsPanel = Ext.create('Compass.ErpApp.Desktop.Applications.Knitkit.FileAssetsPanel', { module: config.module });
        this.items = [];

        if (currentUser.hasCapability('view','GlobalImageAsset') || currentUser.hasCapability('view','SiteImageAsset')){
            this.items.push(this.imageAssetsPanel);
        }

        if (currentUser.hasCapability('view','GlobalFileAsset') || currentUser.hasCapability('view','SiteFileAsset')){
            this.items.push(this.fileAssetsPanel);
        }
        
        this.items.push(this.widgetsPanel);

        config = Ext.apply({
            deferredRender:false,
            itemId:'knitkitEastRegion',
            region:'east',
            width:300,
            split:true,
            collapsible:true,
            activeTab: 0
        }, config);

        this.callParent([config]);
    }
});

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
knitkit-2.1.15 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.14 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.13 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.12 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.11 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.10 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.9 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.8 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.7 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.6 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.5 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.4 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.3 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.2 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.1 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js
knitkit-2.1.0 public/javascripts/erp_app/desktop/applications/knitkit/east_region.js