Mercurial > lada > lada-client
comparison app/controller/Sql.js @ 403:e3e4adb00f32 0.5
Removed multiselect from filter comboboxes.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 11 Sep 2013 10:55:38 +0200 |
parents | 00bf2d4f3bd1 |
children | e1af66012ef0 |
comparison
equal
deleted
inserted
replaced
402:60a2812568cb | 403:e3e4adb00f32 |
---|---|
104 } else if (type == "bool") { | 104 } else if (type == "bool") { |
105 console.log("Found bool filter"); | 105 console.log("Found bool filter"); |
106 field = Ext.create('Lada.view.widgets.Testdatensatz', { name: name, fieldLabel: label, emptyText: '' }); | 106 field = Ext.create('Lada.view.widgets.Testdatensatz', { name: name, fieldLabel: label, emptyText: '' }); |
107 } else if (type == "listmst") { | 107 } else if (type == "listmst") { |
108 console.log("Found listmst filter"); | 108 console.log("Found listmst filter"); |
109 field = Ext.create('Lada.view.widgets.Mst', { name: name, fieldLabel: label, multiSelect: true }); | 109 field = Ext.create('Lada.view.widgets.Mst', { name: name, fieldLabel: label }); |
110 } else if (type == "listumw") { | 110 } else if (type == "listumw") { |
111 console.log("Found listumw filter"); | 111 console.log("Found listumw filter"); |
112 field = Ext.create('Lada.view.widgets.Uwb', { name: name, fieldLabel: label, multiSelect: true }); | 112 field = Ext.create('Lada.view.widgets.Uwb', { name: name, fieldLabel: label }); |
113 } else if (type == "listdbasis") { | 113 } else if (type == "listdbasis") { |
114 console.log("Found listdbasis filter"); | 114 console.log("Found listdbasis filter"); |
115 field = Ext.create('Lada.view.widgets.Datenbasis', { name: name, fieldLabel: label, multiSelect: true }); | 115 field = Ext.create('Lada.view.widgets.Datenbasis', { name: name, fieldLabel: label }); |
116 } else if (type == "listver") { | 116 } else if (type == "listver") { |
117 console.log("Found listver filter"); | 117 console.log("Found listver filter"); |
118 field = Ext.create('Lada.view.widgets.Verwaltungseinheit', { name: name, fieldLabel: label, multiSelect: true }); | 118 field = Ext.create('Lada.view.widgets.Verwaltungseinheit', { name: name, fieldLabel: label }); |
119 } else if (type == "listnetz") { | 119 } else if (type == "listnetz") { |
120 console.log("Found listnetz filter"); | 120 console.log("Found listnetz filter"); |
121 field = Ext.create('Lada.view.widgets.Netzbetreiber', { name: name, fieldLabel: label, multiSelect: true }); | 121 field = Ext.create('Lada.view.widgets.Netzbetreiber', { name: name, fieldLabel: label }); |
122 } | 122 } |
123 if (field) { | 123 if (field) { |
124 console.log("Pushing field to filters"); | 124 console.log("Pushing field to filters"); |
125 filters.add(field); | 125 filters.add(field); |
126 filters.show(); | 126 filters.show(); |