FIX: fix alert on contact form

This commit is contained in:
Michal Kváček
2016-05-25 14:45:47 +02:00
parent fc88a82888
commit 6037f88260
@@ -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);