[Lada-commits] [PATCH 1 of 3] Fixed expanding
Wald Commits
scm-commit at wald.intevation.org
Wed Jul 8 12:42:25 CEST 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1436352056 -7200
# Node ID 8de4ec66d0e6198e81a9cc3d8bbf2e558010226f
# Parent 613ad3263e59dfd00aa108fc68a0904eed781b06
Fixed expanding.
diff -r 613ad3263e59 -r 8de4ec66d0e6 app/view/widget/Deskriptor.js
--- a/app/view/widget/Deskriptor.js Wed Jul 08 09:33:25 2015 +0200
+++ b/app/view/widget/Deskriptor.js Wed Jul 08 12:40:56 2015 +0200
@@ -18,13 +18,14 @@
triggerAction: 'all',
typeAhead: false,
layer: null,
- queryMode: 'local',
+ queryMode: 'remote',
+ remoteFilter: true,
+
listeners: {
- expand: {
+ focus: {
fn: function(field) {
if (field.up('deskriptor').layer === 0) {
field.store.proxy.extraParams = {'layer': field.up('deskriptor').layer};
- field.store.load();
}
else {
var parents = field.up('deskriptor').getParents(this);
More information about the Lada-commits
mailing list