Mercurial > lada > lada-client
comparison app/view/zusatzwerte/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 |
---|---|
17 autoShow: true, | 17 autoShow: true, |
18 autoScroll: true, | 18 autoScroll: true, |
19 modal: true, | 19 modal: true, |
20 | 20 |
21 initComponent: function() { | 21 initComponent: function() { |
22 this.buttons = [ | 22 this.buttons = [{ |
23 { | 23 text: 'Speichern', |
24 text: 'Speichern', | 24 scope: form, |
25 scope: form, | 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 | 31 var form = Ext.create('Lada.view.zusatzwerte.CreateForm', |
32 } | 32 this.initialConfig); |
33 ]; | |
34 var form = Ext.create('Lada.view.zusatzwerte.CreateForm', this.initialConfig); | |
35 this.items = [form]; | 33 this.items = [form]; |
36 this.callParent(); | 34 this.callParent(); |
37 } | 35 } |
38 }); | 36 }); |