[Lada-commits] [PATCH] fix validity of oz-Id in Ortserstellung

Wald Commits scm-commit at wald.intevation.org
Wed Feb 8 15:47:01 CET 2017


# HG changeset patch
# User Maximilian Krambach <mkrambach at intevation.de>
# Date 1486565218 -3600
# Node ID d2a0cb1e559617513b4b7aa0a22d5b598fc35404
# Parent  993e542796fded4b0a568d85deca4662cfd657e9
fix validity of oz-Id in Ortserstellung

diff -r 993e542796fd -r d2a0cb1e5596 app/view/form/Ortserstellung.js
--- a/app/view/form/Ortserstellung.js	Wed Feb 08 15:36:55 2017 +0100
+++ b/app/view/form/Ortserstellung.js	Wed Feb 08 15:46:58 2017 +0100
@@ -152,7 +152,6 @@
         },{
             xtype: 'ortszusatz',
             labelWidth: 125,
-            maxLength: 7,
             name: 'ozId',
             fieldLabel: i18n.getMsg('orte.ozId')
         }];
diff -r 993e542796fd -r d2a0cb1e5596 app/view/widget/OrtsZusatz.js
--- a/app/view/widget/OrtsZusatz.js	Wed Feb 08 15:36:55 2017 +0100
+++ b/app/view/widget/OrtsZusatz.js	Wed Feb 08 15:46:58 2017 +0100
@@ -13,8 +13,8 @@
     extend: 'Lada.view.widget.base.ComboBox',
     alias: 'widget.ortszusatz',
     store: 'OrtsZusatz',
-    displayField: 'id',
-    valueField: 'id',
+    displayField: 'ortszusatz',
+    valueField: 'ozsId',
     editable: this.editable || false,
     disableKeyFilter: true,
     forceSelection: true,


More information about the Lada-commits mailing list