From 4b964b9dc915f181da68e189ef000788ce2748b2 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 9 Nov 2015 11:01:36 -0500 Subject: [PATCH] setting datepicker for reservation fields --- functions.php | 3 +++ js/app.js | 2 +- js/custom/pageSetup.js | 2 +- parts/reservation-form.php | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 93d337f..448c423 100644 --- a/functions.php +++ b/functions.php @@ -677,6 +677,9 @@ function glm_site_scripts() '1.0', true ); + /* wp_enqueue_script('jquery-ui-datepicker'); + wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css'); */ + if(is_front_page()) { } diff --git a/js/app.js b/js/app.js index 5d127fd..9ba400c 100644 --- a/js/app.js +++ b/js/app.js @@ -39,5 +39,5 @@ $(document).ready(function () { }); //////////////////////////////////////////////////////// - + $("#arrive").datepicker(); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 52b47c2..6d3a2ee 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -30,5 +30,5 @@ $(document).ready(function () { }); //////////////////////////////////////////////////////// - + $("#arrive").datepicker(); }); diff --git a/parts/reservation-form.php b/parts/reservation-form.php index 7b80084..ea65c89 100644 --- a/parts/reservation-form.php +++ b/parts/reservation-form.php @@ -7,10 +7,10 @@
- +
- +
-- 2.17.1