comparison app/view/zusatzwerte/Create.js @ 122:a7bfaeb1655d

Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 16:56:17 +0200
parents 189a93e31be9
children 7b1140bd8b3d
comparison
equal deleted inserted replaced
121:c05fda928b82 122:a7bfaeb1655d
9 height: Ext.getBody().getViewSize().height - 30, 9 height: Ext.getBody().getViewSize().height - 30,
10 autoShow: true, 10 autoShow: true,
11 autoScroll: true, 11 autoScroll: true,
12 modal: true, 12 modal: true,
13 13
14 requires: [
15 'Lada.view.zusatzwerte.CreateForm',
16 'Lada.view.widgets.Zusatzwert',
17 'Lada.view.widgets.Messeinheit'
18 ],
19 initComponent: function() { 14 initComponent: function() {
20 var form = Ext.create('Lada.view.zusatzwerte.CreateForm', this.initialConfig); 15 var form = Ext.create('Lada.view.zusatzwerte.CreateForm', this.initialConfig);
21 this.items = [form]; 16 this.items = [form];
22 this.buttons = [ 17 this.buttons = [
23 { 18 {
24 text: 'Speichern', 19 text: 'Speichern',
25 handler: form.commit, 20 //handler: form.commit,
26 scope: form 21 scope: form,
22 action: 'save'
27 } 23 }
28 ]; 24 ];
29 this.callParent(); 25 this.callParent();
30 } 26 }
31 }); 27 });

http://lada.wald.intevation.org