[Lada-commits] [PATCH] Allow re-selection of referenced items in Ortserstellung
Wald Commits
scm-commit at wald.intevation.org
Wed Feb 8 12:07:04 CET 2017
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1486552012 -3600
# Node ID d52d4b55914b2e93a6e10dd05b371cafef1d0b57
# Parent ec1625ba433b4ce19aa5b1d13c4b3fe06709bcd1
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.
diff -r ec1625ba433b -r d52d4b55914b app/view/widget/KoordinatenArt.js
--- 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" >' +
diff -r ec1625ba433b -r d52d4b55914b app/view/widget/Kta.js
--- 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,
diff -r ec1625ba433b -r d52d4b55914b app/view/widget/OrtTyp.js
--- 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,
diff -r ec1625ba433b -r d52d4b55914b app/view/widget/OrtsZusatz.js
--- 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,
More information about the Lada-commits
mailing list