From fe05bb9c9b35fd591e95374788c81deda1326c54 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 8 Feb 2017 00:17:10 -0600 Subject: [PATCH] fixing of mail check in edge --- js/sellForm.js | 16 ++++++++-------- templates/sell_userInfo.html | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/js/sellForm.js b/js/sellForm.js index 7fb9710..a967ddc 100644 --- a/js/sellForm.js +++ b/js/sellForm.js @@ -2,7 +2,7 @@ ibuyproperties.sellForm = (function(){ "use strict"; - + function init(){ if (ibuyproperties.isDebugMode) { console.log("Form-Init"); } @@ -16,27 +16,27 @@ ibuyproperties.sellForm = (function(){ ibuyproperties.router.addRoute("^#Sell/page2",function(){ ibuyproperties.navShow('pnl_sell','sell_propAddress'); }); - + ibuyproperties.router.addRoute("^#Sell/page3",function(){ ibuyproperties.navShow('pnl_sell','sell_propInfo'); }); - + ibuyproperties.router.addRoute("^#Sell/thanks",function(){ ibuyproperties.navShow('pnl_sell','sell_thanks'); }); - + ibuyproperties.router.addRoute("^#Sell/sendError",function(){ ibuyproperties.navShow('pnl_sell','sell_sendError'); }); } - + function sendForm(){ if (ibuyproperties.isDebugMode) { console.log("Sending Form"); } var formInfo=ibuyproperties.helpers.toJSO($("#pnl_Sell")); if (ibuyproperties.isDebugMode) { console.log("Form-data",formInfo); } $.ajax({ type:"POST", - url:"/postForward.php", + url:"postForward.php", dataType:"json", contentType:"application/json", data: JSON.stringify(formInfo), @@ -50,9 +50,9 @@ ibuyproperties.sellForm = (function(){ } }); } - + return { init:init, sendForm:sendForm }; -}()); \ No newline at end of file +}()); diff --git a/templates/sell_userInfo.html b/templates/sell_userInfo.html index bedd077..8dfdd47 100644 --- a/templates/sell_userInfo.html +++ b/templates/sell_userInfo.html @@ -6,7 +6,7 @@ function checkEMail(theEmailAddress){ if (patternMatch ) { $.ajax({ type:"GET", - url:"/checkMail.php", + url:"checkMail.php", dataType:"json", contentType:"application/json", data: { "mailAddress" : theEmailAddress},