Mercurial > lada > lada-client
diff app/view/FilterPanel.js @ 1016:d6e259e76de6
Updated filter value handling.
* Save and reset buttons for values
* Reload and update query stores
* set correct values on reset.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 02 Feb 2016 15:26:43 +0100 |
parents | af9879d72310 |
children | e3ca9f7d8a4f |
line wrap: on
line diff
--- a/app/view/FilterPanel.js Tue Feb 02 15:25:16 2016 +0100 +++ b/app/view/FilterPanel.js Tue Feb 02 15:26:43 2016 +0100 @@ -58,7 +58,36 @@ }, { xtype: 'panel', border: false, - margin: '0 0 10 0', + name: 'filtervariables', + hidden: true, + margin: '10, 0, 10, 0', + items: [{ + xtype: 'panel', + border: false, + name: 'filtervalues', + items: [] + }, { + + layout: { + type: 'hbox', + pack: 'end' + }, + border: false, + items: [{ + xtype: 'button', + action: 'savedefault', + text: 'Vorbelegung speichern', + margin: '0, 10, 0, 0' + }, { + xtype: 'button', + action: 'resetdefault', + text: 'Vorbelegung löschen' + }] + }] + }, { + xtype: 'panel', + border: false, + margin: '10 0 10 0', items: [{ xtype: 'button', action: 'search',