Changing how the mailing works. Added unreachable code to be used until the mailing are up and working

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-09 19:32:22 +01:00
parent a35e3ab53c
commit c8ee8b9b50
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -176,7 +176,7 @@ var Helper = {
data: {from: from, message: message}, data: {from: from, message: message},
url: "/php/mail.php", url: "/php/mail.php",
success: function(data){ success: function(data){
if(data == "success"){ if(data == "success" && 1 == 2){
$("#contact-container").empty(); $("#contact-container").empty();
$("#contact-container").html("Mail has been sent, we'll be back with you shortly.") $("#contact-container").html("Mail has been sent, we'll be back with you shortly.")
}else{ }else{