Mercurial > lada > lada-client
diff app/view/status/Create.js @ 491:850ccfe5f3c4
Code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 31 Oct 2014 23:23:32 +0100 |
parents | debfcc7713e3 |
children | 7c0653e8d9f7 |
line wrap: on
line diff
--- a/app/view/status/Create.js Fri Oct 31 21:28:31 2014 +0100 +++ b/app/view/status/Create.js Fri Oct 31 23:23:32 2014 +0100 @@ -19,20 +19,18 @@ modal: true, initComponent: function() { - this.buttons = [ - { - text: 'Speichern', - scope: form, - action: 'save' - }, - { - text: 'Abbrechen', - scope: this, - handler: this.close - } - ]; - var form = Ext.create('Lada.view.status.CreateForm', this.initialConfig); + this.buttons = [{ + text: 'Speichern', + scope: form, + action: 'save' + }, { + text: 'Abbrechen', + scope: this, + handler: this.close + }]; + var form = Ext.create('Lada.view.status.CreateForm', + this.initialConfig); this.items = [form]; - this.callParent(); + this.callParent(arguments); } });