comparison app/view/orte/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
comparison
equal deleted inserted replaced
490:446e99cfd425 491:850ccfe5f3c4
20 20
21 requires: [ 21 requires: [
22 'Lada.view.orte.CreateForm' 22 'Lada.view.orte.CreateForm'
23 ], 23 ],
24 initComponent: function() { 24 initComponent: function() {
25 this.buttons = [ 25 this.buttons = [{
26 { 26 text: 'Speichern',
27 text: 'Speichern', 27 scope: form,
28 scope: form, 28 action: 'save'
29 action: 'save' 29 }, {
30 }, 30 text: 'Abbrechen',
31 { 31 scope: this,
32 text: 'Abbrechen', 32 handler: this.close
33 scope: this, 33 }];
34 handler: this.close 34 var form = Ext.create('Lada.view.orte.CreateForm',
35 } 35 this.initialConfig);
36 ];
37 var form = Ext.create('Lada.view.orte.CreateForm', this.initialConfig);
38 this.items = [form]; 36 this.items = [form];
39 this.callParent(); 37 this.callParent();
40 } 38 }
41 }); 39 });

http://lada.wald.intevation.org