fixing of mail check in edge
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
ibuyproperties.sellForm = (function(){
|
ibuyproperties.sellForm = (function(){
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function init(){
|
function init(){
|
||||||
if (ibuyproperties.isDebugMode) { console.log("Form-Init"); }
|
if (ibuyproperties.isDebugMode) { console.log("Form-Init"); }
|
||||||
|
|
||||||
@@ -16,27 +16,27 @@ ibuyproperties.sellForm = (function(){
|
|||||||
ibuyproperties.router.addRoute("^#Sell/page2",function(){
|
ibuyproperties.router.addRoute("^#Sell/page2",function(){
|
||||||
ibuyproperties.navShow('pnl_sell','sell_propAddress');
|
ibuyproperties.navShow('pnl_sell','sell_propAddress');
|
||||||
});
|
});
|
||||||
|
|
||||||
ibuyproperties.router.addRoute("^#Sell/page3",function(){
|
ibuyproperties.router.addRoute("^#Sell/page3",function(){
|
||||||
ibuyproperties.navShow('pnl_sell','sell_propInfo');
|
ibuyproperties.navShow('pnl_sell','sell_propInfo');
|
||||||
});
|
});
|
||||||
|
|
||||||
ibuyproperties.router.addRoute("^#Sell/thanks",function(){
|
ibuyproperties.router.addRoute("^#Sell/thanks",function(){
|
||||||
ibuyproperties.navShow('pnl_sell','sell_thanks');
|
ibuyproperties.navShow('pnl_sell','sell_thanks');
|
||||||
});
|
});
|
||||||
|
|
||||||
ibuyproperties.router.addRoute("^#Sell/sendError",function(){
|
ibuyproperties.router.addRoute("^#Sell/sendError",function(){
|
||||||
ibuyproperties.navShow('pnl_sell','sell_sendError');
|
ibuyproperties.navShow('pnl_sell','sell_sendError');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function sendForm(){
|
function sendForm(){
|
||||||
if (ibuyproperties.isDebugMode) { console.log("Sending Form"); }
|
if (ibuyproperties.isDebugMode) { console.log("Sending Form"); }
|
||||||
var formInfo=ibuyproperties.helpers.toJSO($("#pnl_Sell"));
|
var formInfo=ibuyproperties.helpers.toJSO($("#pnl_Sell"));
|
||||||
if (ibuyproperties.isDebugMode) { console.log("Form-data",formInfo); }
|
if (ibuyproperties.isDebugMode) { console.log("Form-data",formInfo); }
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type:"POST",
|
type:"POST",
|
||||||
url:"/postForward.php",
|
url:"postForward.php",
|
||||||
dataType:"json",
|
dataType:"json",
|
||||||
contentType:"application/json",
|
contentType:"application/json",
|
||||||
data: JSON.stringify(formInfo),
|
data: JSON.stringify(formInfo),
|
||||||
@@ -50,9 +50,9 @@ ibuyproperties.sellForm = (function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
init:init,
|
init:init,
|
||||||
sendForm:sendForm
|
sendForm:sendForm
|
||||||
};
|
};
|
||||||
}());
|
}());
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ function checkEMail(theEmailAddress){
|
|||||||
if (patternMatch ) {
|
if (patternMatch ) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type:"GET",
|
type:"GET",
|
||||||
url:"/checkMail.php",
|
url:"checkMail.php",
|
||||||
dataType:"json",
|
dataType:"json",
|
||||||
contentType:"application/json",
|
contentType:"application/json",
|
||||||
data: { "mailAddress" : theEmailAddress},
|
data: { "mailAddress" : theEmailAddress},
|
||||||
|
|||||||
Reference in New Issue
Block a user