Sha256: 822f3d841489cef64405fa0c8cdc4567edd2bd78305b999c1be068e6317901c3

Contents?: true

Size: 948 Bytes

Versions: 2

Compression:

Stored size: 948 Bytes

Contents

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

    createWindow : function(){
       var desktop = this.app.getDesktop();
        var win = desktop.getWindow('tail');
        if(!win){
            win = desktop.createWindow({
                id: 'tail',
                title:'Tail',
                width:1000,
                height:550,
                iconCls: 'icon-footprints-light',
                shim:false,
                animCollapse:false,
                constrainHeader:true,
                layout: 'fit',
                items:[
					{
						xtype:'tail-tailpanel'
					}
				]
            });
        }
        win.show();
    }
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
erp_app-4.2.0 app/assets/javascripts/erp_app/desktop/applications/tail/module.js
erp_app-4.0.0 public/javascripts/erp_app/desktop/applications/tail/module.js