From bae3dbc66a48372f4aefe1fb42ed9265a310b67d Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 21 Jan 2016 13:40:33 -0500 Subject: [PATCH] testing off canvas date functionality --- js/app.js | 13 +------------ js/custom/pageSetup.js | 13 +------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/js/app.js b/js/app.js index 18ee09a..aa64c1e 100644 --- a/js/app.js +++ b/js/app.js @@ -168,8 +168,7 @@ $(document).ready(function () { minDays = $("#arriveOff").attr("min"); $("#arriveOff").val(minDays); } - $("#departOff").val(minDays); - +// $("#departOff").val(minDays); }); // restrict departure date /////////////////////////////// @@ -178,15 +177,5 @@ $(document).ready(function () { currentDate2 = new Date(currentDate2); currentDate2 = new Date(currentDate2.getUTCFullYear(), currentDate2.getUTCMonth(),currentDate2.getUTCDate()); currentDate2.setDate(currentDate2.getDate()); - alert(currentDate2); - - - - }); - - - - - }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index b725cae..49dde93 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -159,8 +159,7 @@ $(document).ready(function () { minDays = $("#arriveOff").attr("min"); $("#arriveOff").val(minDays); } - $("#departOff").val(minDays); - +// $("#departOff").val(minDays); }); // restrict departure date /////////////////////////////// @@ -169,15 +168,5 @@ $(document).ready(function () { currentDate2 = new Date(currentDate2); currentDate2 = new Date(currentDate2.getUTCFullYear(), currentDate2.getUTCMonth(),currentDate2.getUTCDate()); currentDate2.setDate(currentDate2.getDate()); - alert(currentDate2); - - - - }); - - - - - }); -- 2.17.1