Mercurial > lada > lada-client
comparison app/view/kommentare/Create.js @ 144:7b1140bd8b3d
Re-Added Kommentare
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 01 Jul 2013 10:15:00 +0200 |
parents | 6273b73b4b27 |
children | 89e331978e33 |
comparison
equal
deleted
inserted
replaced
143:62b757ccdd8f | 144:7b1140bd8b3d |
---|---|
13 | 13 |
14 requires: [ | 14 requires: [ |
15 'Lada.view.kommentare.CreateForm' | 15 'Lada.view.kommentare.CreateForm' |
16 ], | 16 ], |
17 initComponent: function() { | 17 initComponent: function() { |
18 var form = Ext.create('Lada.view.kommentare.CreateForm'); | 18 var form = Ext.create('Lada.view.kommentare.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, | 23 scope: form, |
24 scope: form | 24 action: 'save' |
25 } | 25 } |
26 ]; | 26 ]; |
27 this.callParent(); | 27 this.callParent(); |
28 } | 28 } |
29 }); | 29 }); |