diff --git a/module/common/view/datepicker.html.php b/module/common/view/datepicker.html.php index 29c949932e..2e358a9da8 100755 --- a/module/common/view/datepicker.html.php +++ b/module/common/view/datepicker.html.php @@ -22,7 +22,7 @@ $(function() if($this.val() == '0000-00-00') { - $this.focus(function(){if($this.val() == '0000-00-00') $this.val('')}).blur(function(){if($this.val() == '') $this.val('0000-00-00')}); + $this.focus(function(){if($this.val() == '0000-00-00') $this.val('').datetimepicker('update');}).blur(function(){if($this.val() == '') $this.val('0000-00-00')}); } }); };