Initial checkin
This commit is contained in:
11
templates/sell_sendError.html
Normal file
11
templates/sell_sendError.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<h1>ERROR occured whilst sending form data. Please try again!</h1>
|
||||
|
||||
<b>... or alternatively send the data via <button class="btn btn-success" onclick="generateMail();" id="mailLink">e-mail</button>.</b>
|
||||
|
||||
<script>
|
||||
function generateMail(){
|
||||
var content="mailto:webmaster@i-buy.properties?subject=Property-Information - fallback&body=" + encodeURIComponent("DO NO MODIFY BELOW CONTENT!\r\n----------------------------------------SNIPP----------------------------------------\r\n" + JSON.stringify(ibuyproperties.helpers.toJSO($("#pnl_Sell"))) + "----------------------------------------SNAPP----------------------------------------");
|
||||
console.log("Fallback Mail Content",content);
|
||||
window.location.href=content;
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user