comparison app/controller/form/Probe.js @ 967:50d7b6e17525

Filter the selectable Messtellen in the statusgrid
author Dustin Demuth <dustin@intevation.de>
date Thu, 12 Nov 2015 14:51:25 +0100
parents 8dd758b9b8ea
children 24b5684d74d7
comparison
equal deleted inserted replaced
966:6e67eb947258 967:50d7b6e17525
43 43
44 /** 44 /**
45 * The Messtellen Store contains ALL Messtellen. 45 * The Messtellen Store contains ALL Messtellen.
46 * Filter the store in this combobox to reduce the choices 46 * Filter the store in this combobox to reduce the choices
47 * to the subset which the user is allowed to use. 47 * to the subset which the user is allowed to use.
48 *
49 * The app.js also creates a messstellenFiltered store,
50 * which contains this selection. Maybe this can be used here in future
51 * TODO
48 */ 52 */
49 filter: function(field) { 53 filter: function(field) {
50 var fil = Ext.create('Ext.util.Filter', { 54 var fil = Ext.create('Ext.util.Filter', {
51 filterFn: function(item) { 55 filterFn: function(item) {
52 if (Ext.Array.contains(Lada.mst, item.get('id'))) { 56 if (Ext.Array.contains(Lada.mst, item.get('id'))) {

http://lada.wald.intevation.org