comparison app/view/messungen/Create.js @ 172:cfa0cc437781

Implemented opening a new Messungen form when clicking and the "Add Button" on the Messungen listing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 03 Jul 2013 16:34:32 +0200
parents 6c69bbb61c65
children 5878159209df
comparison
equal deleted inserted replaced
171:c5422819d7b9 172:cfa0cc437781
13 13
14 requires: [ 14 requires: [
15 'Lada.view.messungen.CreateForm' 15 'Lada.view.messungen.CreateForm'
16 ], 16 ],
17 initComponent: function() { 17 initComponent: function() {
18 var form = Ext.create('Lada.view.messungen.CreateForm'); 18 var form = Ext.create('Lada.view.messungen.CreateForm', this.initialConfig);
19 this.items = [form]; 19 this.items = [form];
20 this.buttons = [ 20 this.buttons = [
21 { 21 {
22 text: 'Speichern', 22 text: 'Speichern',
23 handler: form.commit,
24 scope: form 23 scope: form
25 } 24 }
26 ]; 25 ];
27 this.callParent(); 26 this.callParent();
28 } 27 }

http://lada.wald.intevation.org