Added changes to date validation
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 2 Nov 2015 19:53:46 +0000 (14:53 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 2 Nov 2015 19:53:46 +0000 (14:53 -0500)
js/app.js
js/custom/pageSetup.js

index e166187..df94e2b 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -80,6 +80,9 @@ $(document).ready(function () {
     $("#dateOff1").change(function () {
         currentDate = this.value;
         $("#dateOff1").val(currentDate);
+        if (currentDate !== requiredDate) {
+            alert("boo hiss");
+        }
         
         
     });
index d36fa92..ec0d84f 100644 (file)
@@ -71,6 +71,9 @@ $(document).ready(function () {
     $("#dateOff1").change(function () {
         currentDate = this.value;
         $("#dateOff1").val(currentDate);
+        if (currentDate !== requiredDate) {
+            alert("boo hiss");
+        }
         
         
     });