Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
1015:af9879d72310 | 1016:d6e259e76de6 |
---|---|
56 margin: '0, 0, 0 ,5', | 56 margin: '0, 0, 0 ,5', |
57 value: '-/-' | 57 value: '-/-' |
58 }, { | 58 }, { |
59 xtype: 'panel', | 59 xtype: 'panel', |
60 border: false, | 60 border: false, |
61 margin: '0 0 10 0', | 61 name: 'filtervariables', |
62 hidden: true, | |
63 margin: '10, 0, 10, 0', | |
64 items: [{ | |
65 xtype: 'panel', | |
66 border: false, | |
67 name: 'filtervalues', | |
68 items: [] | |
69 }, { | |
70 | |
71 layout: { | |
72 type: 'hbox', | |
73 pack: 'end' | |
74 }, | |
75 border: false, | |
76 items: [{ | |
77 xtype: 'button', | |
78 action: 'savedefault', | |
79 text: 'Vorbelegung speichern', | |
80 margin: '0, 10, 0, 0' | |
81 }, { | |
82 xtype: 'button', | |
83 action: 'resetdefault', | |
84 text: 'Vorbelegung löschen' | |
85 }] | |
86 }] | |
87 }, { | |
88 xtype: 'panel', | |
89 border: false, | |
90 margin: '10 0 10 0', | |
62 items: [{ | 91 items: [{ |
63 xtype: 'button', | 92 xtype: 'button', |
64 action: 'search', | 93 action: 'search', |
65 text: 'Suchen', | 94 text: 'Suchen', |
66 margin: '0 10 0 0' | 95 margin: '0 10 0 0' |