From: Anthony Talarico Date: Thu, 10 Dec 2015 16:39:29 +0000 (-0500) Subject: fixed reseravation form bug with reservation properties value X-Git-Tag: v1.0.0^2~69 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=be5699609ec014b70a99b327dbbef575b6009fd5;p=WP-Themes%2Fstaffords.git fixed reseravation form bug with reservation properties value --- 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");