Mercurial > hg > fapweb
diff vote.inc.php @ 340:87e57f0aa0e5
Use a wrapper function for alert(), we might be changing the functionality
of this later on.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 30 Nov 2013 22:12:23 +0200 |
parents | 018817535fab |
children | 3175ec252c73 |
line wrap: on
line diff
--- a/vote.inc.php Fri Nov 29 07:42:57 2013 +0200 +++ b/vote.inc.php Sat Nov 30 22:12:23 2013 +0200 @@ -88,7 +88,7 @@ var mfail = function(txt) { - alert("Something went wrong. :("); + messageBox("Something went wrong. :("); } sendPOSTRequest("action=set&entry_id="+eid+"&vote="+value, msuccess, mfail);