fixing of mail check in edge

This commit is contained in:
Joe
2017-02-08 00:17:10 -06:00
parent 8a8ba3b556
commit fe05bb9c9b
2 changed files with 9 additions and 9 deletions

View File

@@ -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
};
}());
}());