diff app/view/widget/base/ComboBox.js @ 1016:d6e259e76de6

Updated filter value handling. * Save and reset buttons for values * Reload and update query stores * set correct values on reset.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 02 Feb 2016 15:26:43 +0100
parents 777bf66dbb11
children 15d7b7a9e177
line wrap: on
line diff
--- a/app/view/widget/base/ComboBox.js	Tue Feb 02 15:25:16 2016 +0100
+++ b/app/view/widget/base/ComboBox.js	Tue Feb 02 15:26:43 2016 +0100
@@ -43,6 +43,7 @@
             readOnly: this.readOnly,
             forceSelection: this.forceSelection || false,
             msgTarget: 'none',
+            value: this.value,
             tpl: this.tpl,
             displayTpl: this.displayTpl
         }, {
@@ -108,6 +109,10 @@
         return this.down('combobox').getValue();
     },
 
+    setValue: function(value) {
+        this.down('combobox').setValue(value);
+    },
+
     clearValue: function() {
         this.down('combobox').clearValue();
     },

http://lada.wald.intevation.org