Sha256: 240e7d05381b29538a1551be1993f29326b2fe964b4baa72bc48d774b1ba4050

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

Ext.define("Compass.ErpApp.Desktop.Applications.DynamicForms",{
    extend:"Ext.ux.desktop.Module",
    id:'dynamic_forms-win',
    init : function(){
        this.launcher = {
            text: 'Dynamic Forms',
            iconCls:'icon-document',
            handler: this.createWindow,
            scope: this
        }
    },

    createWindow : function(){
       var desktop = this.app.getDesktop();
        var win = desktop.getWindow('dynamic_forms');
        this.centerRegion = new Compass.ErpApp.Desktop.Applications.DynamicForms.CenterRegion();                
        if(!win){
            win = desktop.createWindow({
                id: 'dynamic_forms',
                title:'Dynamic Forms',
                maximized:true,
                iconCls: 'icon-document',
                shim:false,
                animCollapse:false,
                constrainHeader:true,
                layout: 'border',
                items:[this.centerRegion,{
                    xtype:'dynamic_forms_westregion',
                    centerRegion:this.centerRegion,
                    module:this
                }]
            });
        }
        win.show();
    }
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
erp_forms-2.0.6 public/javascripts/erp_app/desktop/applications/dynamic_forms/module.js
erp_forms-2.0.5 public/javascripts/erp_app/desktop/applications/dynamic_forms/module.js
erp_forms-2.0.4 public/javascripts/erp_app/desktop/applications/dynamic_forms/module.js
erp_forms-2.0.3 public/javascripts/erp_app/desktop/applications/dynamic_forms/module.js