diff app/view/widget/Probenart.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 6b0d0e62f7d7
line wrap: on
line diff
--- a/app/view/widget/Probenart.js	Mon Apr 20 14:11:39 2015 +0200
+++ b/app/view/widget/Probenart.js	Mon Apr 20 16:07:40 2015 +0200
@@ -17,7 +17,6 @@
     valueField: 'id',
     emptyText: 'Wählen Sie eine Probenart',
     // 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.Probenarten');
         }
+        else {
+            this.store.clearFilter();
+        }
         this.callParent(arguments);
     }
 });

http://lada.wald.intevation.org