From be5699609ec014b70a99b327dbbef575b6009fd5 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 10 Dec 2015 11:39:29 -0500 Subject: [PATCH] fixed reseravation form bug with reservation properties value --- js/app.js | 4 ++-- js/custom/pageSetup.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/app.js b/js/app.js index b3f304d..dc0f59a 100644 --- a/js/app.js +++ b/js/app.js @@ -150,7 +150,7 @@ $(document).ready(function () { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + bayView + start + stay + adults + kids); } else if ($('#propertyNameOff option:selected').text() === "Stafford's Crooked River Lodge") { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + crookedRiver + start + stay + adults + kids); - } else if ($('#propertyNameOff option:selected').text() === "Stafford's Perry Inn") { + } else if ($('#propertyNameOff option:selected').text() === "Stafford's Perry Hotel") { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + perry + start + stay + adults + kids); } else if ($('#propertyName option:selected').text() === "Property") { alert("Please Select a Property"); @@ -164,7 +164,7 @@ $(document).ready(function () { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + bayView + start + stay + adults + kids); } else if ($('#propertyName option:selected').text() === "Stafford's Crooked River Lodge") { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + crookedRiver + start + stay + adults + kids); - } else if ($('#propertyName option:selected').text() === "Stafford's Perry Inn") { + } else if ($('#propertyName option:selected').text() === "Stafford's Perry Hotel") { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + perry + start + stay + adults + kids); } else if ($('#propertyName option:selected').text() === "Property") { alert("Please Select a Property"); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index b643e24..cfead0f 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -141,7 +141,7 @@ $(document).ready(function () { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + bayView + start + stay + adults + kids); } else if ($('#propertyNameOff option:selected').text() === "Stafford's Crooked River Lodge") { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + crookedRiver + start + stay + adults + kids); - } else if ($('#propertyNameOff option:selected').text() === "Stafford's Perry Inn") { + } else if ($('#propertyNameOff option:selected').text() === "Stafford's Perry Hotel") { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + perry + start + stay + adults + kids); } else if ($('#propertyName option:selected').text() === "Property") { alert("Please Select a Property"); @@ -155,7 +155,7 @@ $(document).ready(function () { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + bayView + start + stay + adults + kids); } else if ($('#propertyName option:selected').text() === "Stafford's Crooked River Lodge") { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + crookedRiver + start + stay + adults + kids); - } else if ($('#propertyName option:selected').text() === "Stafford's Perry Inn") { + } else if ($('#propertyName option:selected').text() === "Stafford's Perry Hotel") { window.open("https://www.bookonthenet.net/east/premium/eresmain.aspx?id=" + perry + start + stay + adults + kids); } else if ($('#propertyName option:selected').text() === "Property") { alert("Please Select a Property"); -- 2.17.1