diff app/view/form/Ortszuordnung.js @ 1341:2e8eba3918b1

OrtszuordnungMp fix
author Maximilian Krambach <mkrambach@intevation.de>
date Fri, 03 Feb 2017 21:43:52 +0100
parents 15e4a3e42ad7
children cd16b30dbc10
line wrap: on
line diff
--- a/app/view/form/Ortszuordnung.js	Fri Feb 03 20:35:53 2017 +0100
+++ b/app/view/form/Ortszuordnung.js	Fri Feb 03 21:43:52 2017 +0100
@@ -143,11 +143,7 @@
     setOrt: function(row, selRecord, index, opts) {
         var newOrtId = selRecord.get('id');
         if (newOrtId) {
-            if (this.type == 'probe') {
-                this.getForm().setValues({ortId: newOrtId});
-            } else {
-                this.getForm().setValues({ort: newOrtId});
-            }
+            this.getForm().setValues({ortId: newOrtId});
             this.setOrtInfo(selRecord);
         }
     },

http://lada.wald.intevation.org