Mercurial > lada > lada-client
comparison app/view/proben/Import.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 |
---|---|
16 title: 'Maske für §3-Proben Import', | 16 title: 'Maske für §3-Proben Import', |
17 autoShow: true, | 17 autoShow: true, |
18 autoScroll: true, | 18 autoScroll: true, |
19 modal: true, | 19 modal: true, |
20 initComponent: function() { | 20 initComponent: function() { |
21 this.buttons = [ | 21 this.buttons = [{ |
22 { | 22 text: 'Speichern', |
23 text: 'Speichern', | 23 action: 'save' |
24 action: 'save' | 24 }, { |
25 }, | 25 text: 'Abbrechen', |
26 { | 26 scope: this, |
27 text: 'Abbrechen', | 27 handler: this.close |
28 scope: this, | 28 }]; |
29 handler: this.close | |
30 } | |
31 ]; | |
32 var form = Ext.create('Lada.view.proben.ImportForm'); | 29 var form = Ext.create('Lada.view.proben.ImportForm'); |
33 this.items = [form]; | 30 this.items = [form]; |
34 this.callParent(); | 31 this.callParent(arguments); |
35 } | 32 } |
36 }); | 33 }); |