Mercurial > lada > lada-client
diff app/view/proben/Edit.js @ 491:850ccfe5f3c4
Code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 31 Oct 2014 23:23:32 +0100 |
parents | 446e99cfd425 |
children | 7c0653e8d9f7 |
line wrap: on
line diff
--- a/app/view/proben/Edit.js Fri Oct 31 21:28:31 2014 +0100 +++ b/app/view/proben/Edit.js Fri Oct 31 23:23:32 2014 +0100 @@ -23,23 +23,21 @@ initComponent: function() { console.log('open edit...'); - this.buttons = [ - { - text: 'Speichern', - action: 'save' - }, - { - text: 'Abbrechen', - scope: this, - handler: this.close - } - ]; + this.buttons = [{ + text: 'Speichern', + action: 'save' + }, { + text: 'Abbrechen', + scope: this, + handler: this.close + }]; this.width = Ext.getBody().getViewSize().width - 30; this.height = Ext.getBody().getViewSize().height - 30; // InitialConfig is the config object passed to the constructor on // creation of this window. We need to pass it throuh to the form as // we need the "modelId" param to load the correct item. - var form = Ext.create('Lada.view.proben.EditForm', this.initialConfig); + var form = Ext.create('Lada.view.proben.EditForm', + this.initialConfig); this.items = [form]; this.callParent(); }