diff app/view/form/Probe.js @ 611:8a156a7fbe67

added a controller for messungforms, modified testdatensatz-widget to load a local store, removed dirtychange listeners from probe-form
author Dustin Demuth <dustin@intevation.de>
date Fri, 13 Mar 2015 15:11:12 +0100
parents 7f8e64c5bd2e
children 19d81c9aa97f
line wrap: on
line diff
--- a/app/view/form/Probe.js	Fri Mar 13 13:20:49 2015 +0100
+++ b/app/view/form/Probe.js	Fri Mar 13 15:11:12 2015 +0100
@@ -106,35 +106,17 @@
                                 name: 'datenbasisId',
                                 fieldLabel: 'Datenbasis',
                                 labelWidth: 100,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
                             }, {
                                 xtype: 'betriebsart',
                                 name: 'baId',
                                 fieldLabel: 'Betriebsart',
                                 labelWidth: 100,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
                             }, {
                                 xtype: 'testdatensatz',
                                 name: 'test',
                                 fieldLabel: 'Testdatensatz',
                                 labelWidth: 100,
                                 allowBlank: false,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
                             }, {
                                 xtype: 'probenart',
                                 editable: false,
@@ -142,24 +124,12 @@
                                 fieldLabel: 'Probenart',
                                 labelWidth: 100,
                                 allowBlank: false,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
                             }, {
                                 xtype: 'numberfield',
                                 allowDecimals: false,
                                 name: 'probeNehmerId',
                                 fieldLabel: 'Probennehmer',
                                 labelWidth: 100,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
                             }, {
                                 xtype: 'netzbetreiber',
                                 name: 'netzbetreiberId',
@@ -167,23 +137,11 @@
                                 fieldLabel: 'Netzbetreiber',
                                 labelWidth: 100,
                                 allowBlank: false,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
                             }, {
                                 xtype: 'tfield',
                                 name: 'x11',
                                 fieldLabel: 'Datensatzerzeuger',
                                 labelWidth: 100,
-                                listeners: {
-                                    dirtychange: {
-                                        fn: this.updateOnChange,
-                                        scope: me
-                                    }
-                                }
                             }]
                         }]
                     }]

http://lada.wald.intevation.org