diff app/view/widget/base/Datetime.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 c75f13578315
children
line wrap: on
line diff
--- a/app/view/widget/base/Datetime.js	Tue Feb 02 15:25:16 2016 +0100
+++ b/app/view/widget/base/Datetime.js	Tue Feb 02 15:26:43 2016 +0100
@@ -92,6 +92,14 @@
         }
     },
 
+    getValue: function() {
+        return this.down('datetimefield').getValue();
+    },
+
+    setValue: function(value) {
+        this.down('datetimefield').setValue(value);
+    },
+
     clearWarningOrError: function() {
         this.down('datetimefield').clearInvalid();
         this.down('image[name=errorImg]').hide();

http://lada.wald.intevation.org