diff --git a/client-side/js/ipub.formDateTime.js b/client-side/js/ipub.formDateTime.js index f79a220..651e2e3 100644 --- a/client-side/js/ipub.formDateTime.js +++ b/client-side/js/ipub.formDateTime.js @@ -81,6 +81,14 @@ return false; }); + this.buttons.$dateClear.click(function (event) { + event.preventDefault(); + + that.$dateField.val(''); + + return false; + }); + this.buttons.$timeTrigger.click(function (event) { event.preventDefault(); @@ -90,6 +98,14 @@ return false; }); + this.buttons.$timeClear.click(function (event) { + event.preventDefault(); + + that.$timeField.val(''); + + return false; + }); + return this; },