comparison app/controller/Filter.js @ 1124:a4944b52176e

Fixed selecting item on undefined attribute.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 24 May 2016 10:39:43 +0200
parents 0b908138a740
children 056ffbc2790a
comparison
equal deleted inserted replaced
1122:49189f7b4d2f 1124:a4944b52176e
109 this.reset(element); 109 this.reset(element);
110 110
111 contentPanel.removeAll(); //clear the panel: make space for new grids 111 contentPanel.removeAll(); //clear the panel: make space for new grids
112 112
113 // Setup Columns 113 // Setup Columns
114 if (this.displayFields && this.displayFields[0].index === 0) { 114 if (this.displayFields &&
115 this.displayFields.length > 0 &&
116 this.displayFields[0].index === 0) {
115 this.displayFields.reverse(); 117 this.displayFields.reverse();
116 } 118 }
117 119
118 if (queryType == 'probe' || 120 if (queryType == 'probe' ||
119 queryType == 'messung' || 121 queryType == 'messung' ||

http://lada.wald.intevation.org