changeset 1363:d52d4b55914b

Allow re-selection of referenced items in Ortserstellung. A once made selection or automatic pre-selection made it impossible to change the selection without closing the form.
author Tom Gottfried <tom@intevation.de>
date Wed, 08 Feb 2017 12:06:52 +0100
parents ec1625ba433b
children b58868c47f02
files app/view/widget/KoordinatenArt.js app/view/widget/Kta.js app/view/widget/OrtTyp.js app/view/widget/OrtsZusatz.js
diffstat 4 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/widget/KoordinatenArt.js	Tue Feb 07 20:00:59 2017 +0100
+++ b/app/view/widget/KoordinatenArt.js	Wed Feb 08 12:06:52 2017 +0100
@@ -19,6 +19,8 @@
     queryMode: 'local',
     triggerAction: 'all',
     typeAhead: false,
+    editable: this.editable || false,
+    disableKeyFilter: true,
     forceSelection: true,
     tpl: Ext.create("Ext.XTemplate",
         '<tpl for="."><div class="x-combo-list-item  x-boundlist-item" >' +
--- a/app/view/widget/Kta.js	Tue Feb 07 20:00:59 2017 +0100
+++ b/app/view/widget/Kta.js	Wed Feb 08 12:06:52 2017 +0100
@@ -16,6 +16,7 @@
     displayField: 'id',
     valueField: 'id',
     editable: this.editable || false,
+    disableKeyFilter: true,
     forceSelection: true,
     // Enable filtering of comboboxes
     autoSelect: false,
--- a/app/view/widget/OrtTyp.js	Tue Feb 07 20:00:59 2017 +0100
+++ b/app/view/widget/OrtTyp.js	Wed Feb 08 12:06:52 2017 +0100
@@ -16,6 +16,7 @@
     displayField: 'id',
     valueField: 'id',
     editable: this.editable || false,
+    disableKeyFilter: true,
     forceSelection: true,
     // Enable filtering of comboboxes
     autoSelect: false,
--- a/app/view/widget/OrtsZusatz.js	Tue Feb 07 20:00:59 2017 +0100
+++ b/app/view/widget/OrtsZusatz.js	Wed Feb 08 12:06:52 2017 +0100
@@ -16,6 +16,7 @@
     displayField: 'id',
     valueField: 'id',
     editable: this.editable || false,
+    disableKeyFilter: true,
     forceSelection: true,
     // Enable filtering of comboboxes
     autoSelect: false,

http://lada.wald.intevation.org