Mercurial > lada > lada-client
changeset 849:8de4ec66d0e6
Fixed expanding.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 08 Jul 2015 12:40:56 +0200 |
parents | 613ad3263e59 |
children | 43f3a53d07d3 |
files | app/view/widget/Deskriptor.js |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);