diff app/view/widget/Messeinheit.js @ 740:2e8da590ea0c

made Comboboces editable and filterable for; Messungenform: Messstelle,Datenbasis,Betriebsarts,Testdatensatz,Preobenart,Netzbetreiber Messungform: Messmethode Messwertegrid: Messgroesse,Messeinheit
author Dustin Demuth <dustin@intevation.de>
date Mon, 20 Apr 2015 16:07:40 +0200
parents d47ee7439f44
children
line wrap: on
line diff
--- a/app/view/widget/Messeinheit.js	Mon Apr 20 14:11:39 2015 +0200
+++ b/app/view/widget/Messeinheit.js	Mon Apr 20 16:07:40 2015 +0200
@@ -17,7 +17,6 @@
     valueField: 'id',
     emptyText: 'Wählen Sie eine Messeinheit',
     // Enable filtering of comboboxes
-    autoSelect: false,
     queryMode: 'local',
     triggerAction: 'all',
     typeAhead: false,
@@ -28,6 +27,9 @@
         if (!this.store) {
             this.store = Ext.create('Lada.store.Messeinheiten');
         }
+        else {
+            this.store.clearFilter();
+        }
         this.callParent(arguments);
     }
 });

http://lada.wald.intevation.org