FIX: fix alert on contact form
This commit is contained in:
@@ -72,8 +72,8 @@
|
||||
method: 'post',
|
||||
data: $('#form-{{$page->id}}').serialize()
|
||||
}).done(function(resp) {
|
||||
if(resp.status == true) {
|
||||
alert('Úspešne ste nám odoslali správu. Odpovieme Vám čo najskôr!');
|
||||
if(resp.status == 'success') {
|
||||
alert('Zpráva úspěšně odeslána. Odpovíme co nejdříve!');
|
||||
window.top.location.reload();
|
||||
} else {
|
||||
alert(resp.message);
|
||||
|
||||
Reference in New Issue
Block a user