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

http://lada.wald.intevation.org