changeset 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 60a2812568cb
children 9caedffa5c7b
files app/controller/Sql.js
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/app/controller/Sql.js	Fri Sep 06 12:53:19 2013 +0200
+++ b/app/controller/Sql.js	Wed Sep 11 10:55:38 2013 +0200
@@ -106,19 +106,19 @@
                 field = Ext.create('Lada.view.widgets.Testdatensatz', { name: name, fieldLabel: label, emptyText: '' });
             } else if (type == "listmst") {
                 console.log("Found listmst filter");
-                field = Ext.create('Lada.view.widgets.Mst', { name: name, fieldLabel: label, multiSelect: true });
+                field = Ext.create('Lada.view.widgets.Mst', { name: name, fieldLabel: label });
             } else if (type == "listumw") {
                 console.log("Found listumw filter");
-                field = Ext.create('Lada.view.widgets.Uwb', { name: name, fieldLabel: label, multiSelect: true });
+                field = Ext.create('Lada.view.widgets.Uwb', { name: name, fieldLabel: label });
             } else if (type == "listdbasis") {
                 console.log("Found listdbasis filter");
-                field = Ext.create('Lada.view.widgets.Datenbasis', { name: name, fieldLabel: label, multiSelect: true });
+                field = Ext.create('Lada.view.widgets.Datenbasis', { name: name, fieldLabel: label });
             } else if (type == "listver") {
                 console.log("Found listver filter");
-                field = Ext.create('Lada.view.widgets.Verwaltungseinheit', { name: name, fieldLabel: label, multiSelect: true });
+                field = Ext.create('Lada.view.widgets.Verwaltungseinheit', { name: name, fieldLabel: label });
             } else if (type == "listnetz") {
                 console.log("Found listnetz filter");
-                field = Ext.create('Lada.view.widgets.Netzbetreiber', { name: name, fieldLabel: label, multiSelect: true });
+                field = Ext.create('Lada.view.widgets.Netzbetreiber', { name: name, fieldLabel: label });
             }
             if (field) {
                 console.log("Pushing field to filters");

http://lada.wald.intevation.org