comparison app/view/proben/Edit.js @ 490:446e99cfd425

Updated views and controllers using the new model and stores.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:28:31 +0100
parents d00cc841a876
children 850ccfe5f3c4
comparison
equal deleted inserted replaced
489:6056a7fd9aa2 490:446e99cfd425
9 /* 9 /*
10 * Window to edit a Probe 10 * Window to edit a Probe
11 */ 11 */
12 Ext.define('Lada.view.proben.Edit', { 12 Ext.define('Lada.view.proben.Edit', {
13 extend: 'Ext.window.Window', 13 extend: 'Ext.window.Window',
14 require: ['Lada.view.proben.EditForm'],
14 alias: 'widget.probenedit', 15 alias: 'widget.probenedit',
15 16
16 title: 'Maske für §3-Proben', 17 title: 'Maske für §3-Proben',
17 // Make size of the dialog dependend of the available space. 18 // Make size of the dialog dependend of the available space.
18 // TODO: Handle resizing the browser window. 19 // TODO: Handle resizing the browser window.
19 autoShow: true, 20 autoShow: true,
20 autoScroll: true, 21 autoScroll: true,
21 modal: true, 22 modal: true,
22 23
23 initComponent: function() { 24 initComponent: function() {
25 console.log('open edit...');
24 this.buttons = [ 26 this.buttons = [
25 { 27 {
26 text: 'Speichern', 28 text: 'Speichern',
27 action: 'save' 29 action: 'save'
28 }, 30 },

http://lada.wald.intevation.org