From 8a3cda964e30e85b365a7a1d608777b2d57b6b82 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 6 Mar 2014 21:17:37 +0000 Subject: [PATCH] Fix clearing date field does not fire change event --- etemplate/js/et2_widget_date.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/etemplate/js/et2_widget_date.js b/etemplate/js/et2_widget_date.js index 8154452d04..5b3642bf46 100644 --- a/etemplate/js/et2_widget_date.js +++ b/etemplate/js/et2_widget_date.js @@ -108,8 +108,6 @@ var et2_date = et2_inputWidget.extend( // allow 0 as empty-value for date and date-time widgets, as that is used a lot eg. in InfoLog _value == 0 && (this._type == 'date-time' || this._type == 'date')) { - _value = null; - if(this.input_date) { this.input_date.val("");