diff app/controller/form/Probe.js @ 1066:d198946e5540

Introduced laborMstId as new probe field.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 11 Mar 2016 13:58:04 +0100
parents 24b5684d74d7
children 3c42c06e3a36
line wrap: on
line diff
--- a/app/controller/form/Probe.js	Thu Mar 10 10:45:50 2016 +0100
+++ b/app/controller/form/Probe.js	Fri Mar 11 13:58:04 2016 +0100
@@ -27,9 +27,7 @@
             'probeform': {
                 dirtychange: this.dirtyForm
             },
-            'probeform messstelle combobox': {
-                expand: this.filter,
-                keydown: this.filter,
+            'probeform messstellelabor combobox': {
                 select: this.setNetzbetreiber
             },
             'probeform [xtype="datetime"] field': {
@@ -155,11 +153,9 @@
         formPanel.down('fset[name=sollzeitPeriod]').clearMessages();
         formPanel.down('datetime[name=probeentnahmeBeginn]').clearWarningOrError();
         formPanel.down('datetime[name=probeentnahmeEnde]').clearWarningOrError();
-        formPanel.down('datetime[name=solldatumBeginn]').clearWarningOrError();
-        formPanel.down('datetime[name=solldatumEnde]').clearWarningOrError();
 
         formPanel.down('umwelt').store.clearFilter();
-        formPanel.getForm().loadRecord(formPanel.getForm().getRecord());
+        formPanel.setRecord(formPanel.getForm().getRecord());
     },
 
      /**

http://lada.wald.intevation.org