comparison app/view/proben/Create.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents d00cc841a876
children 7c0653e8d9f7
comparison
equal deleted inserted replaced
490:446e99cfd425 491:850ccfe5f3c4
18 // TODO: Handle resizing the browser window. 18 // TODO: Handle resizing the browser window.
19 autoShow: true, 19 autoShow: true,
20 autoScroll: true, 20 autoScroll: true,
21 modal: true, 21 modal: true,
22 initComponent: function() { 22 initComponent: function() {
23 this.buttons = [ 23 this.buttons = [{
24 { 24 text: 'Speichern',
25 text: 'Speichern', 25 action: 'save'
26 action: 'save' 26 }, {
27 }, 27 text: 'Abbrechen',
28 { 28 scope: this,
29 text: 'Abbrechen', 29 handler: this.close
30 scope: this, 30 }];
31 handler: this.close
32 }
33 ];
34 this.width = Ext.getBody().getViewSize().width - 30; 31 this.width = Ext.getBody().getViewSize().width - 30;
35 this.height = Ext.getBody().getViewSize().height - 30; 32 this.height = Ext.getBody().getViewSize().height - 30;
36 var form = Ext.create('Lada.view.proben.CreateForm'); 33 var form = Ext.create('Lada.view.proben.CreateForm');
37 this.items = [form]; 34 this.items = [form];
38 this.callParent(); 35 this.callParent();

http://lada.wald.intevation.org