diff app/view/widget/base/DateField.js @ 733:a8389baaf4af

Added method to clear values.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 17 Apr 2015 15:16:50 +0200
parents 422e71708a0c
children 777bf66dbb11
line wrap: on
line diff
--- a/app/view/widget/base/DateField.js	Fri Apr 17 14:13:28 2015 +0200
+++ b/app/view/widget/base/DateField.js	Fri Apr 17 15:16:50 2015 +0200
@@ -95,6 +95,10 @@
         return this.down('datefield').getValue();
     },
 
+    clearValue: function() {
+        this.down('datefield').clearValue();
+    },
+
     getName: function() {
         return this.name;
     },

http://lada.wald.intevation.org