Sha256: dbc6b64db65c1237c3210fd76487b3a46d1fcbbf951ed7cb024feedb789f849d

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 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',
                width:1150,
                height:550,
                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

3 entries across 3 versions & 1 rubygems

Version Path
erp_forms-2.0.2 public/javascripts/erp_app/desktop/applications/dynamic_forms/module.js
erp_forms-2.0.1 public/javascripts/erp_app/desktop/applications/dynamic_forms/module.js
erp_forms-2.0.0 public/javascripts/erp_app/desktop/applications/dynamic_forms/module.js