* fix datetimepick textbox with value "0000-00-00".

This commit is contained in:
Catouse
2015-01-29 09:36:27 +08:00
parent 2d83179de0
commit 1863fc5987
+1 -1
View File
@@ -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')});
}
});
};