Mercurial > hg > fapweb
changeset 786:85f5f569f6fc
Improve error message.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 21 Nov 2014 07:16:47 +0200 |
parents | 7735f97b2bbf |
children | 8f570449f9e7 |
files | pages/vote.inc.php |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pages/vote.inc.php Fri Nov 21 05:32:19 2014 +0200 +++ b/pages/vote.inc.php Fri Nov 21 07:16:47 2014 +0200 @@ -93,7 +93,7 @@ var mfail = function(txt) { - jsMessageBox("Something went wrong. :("); + jsMessageBox("<h1>Ooops, an error occured</h2><p>Something went wrong, votes might not be submitted. :(</p>"); } jsSendPOSTRequest("action=set&entry_id="+eid+"&vote="+value, msuccess, mfail);