Sha256: 8bfc0f2b2c6e1ccd8fb2d076b253cfc973fc8d157f3c5c23b9e54ebe66bc5b1c
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 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, id: 'knitkitEastRegion', region: 'east', width: 280, split: true, collapsible: true, activeTab: 0 }, config); this.callParent([config]); } });
Version data entries
2 entries across 2 versions & 1 rubygems