Mercurial > hg > fapweb
comparison pages/vote.inc.php @ 999:3714c6c53529
Add helpful notice for people who have JavaScript disabled while voting.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 15 Jan 2015 10:28:02 +0200 |
parents | 7d7bd913649c |
children | ffacd904fd1f |
comparison
equal
deleted
inserted
replaced
998:b0ef1c1b0eeb | 999:3714c6c53529 |
---|---|
77 else | 77 else |
78 if (($mode = stGetSessionItem("mode")) == "vote") | 78 if (($mode = stGetSessionItem("mode")) == "vote") |
79 { | 79 { |
80 stCommonAJAX("usrajax.php", "usrlogout.php"); | 80 stCommonAJAX("usrajax.php", "usrlogout.php"); |
81 ?> | 81 ?> |
82 <noscript> | |
83 <div class="notice">If your browser supports JavaScript, enable it for smoother voting experience.</div> | |
84 </noscript> | |
82 <script type="text/javascript"> | 85 <script type="text/javascript"> |
83 | 86 |
84 function updateVote(eid, value) | 87 function updateVote(eid, value) |
85 { | 88 { |
86 var msuccess = function(txt) | 89 var msuccess = function(txt) |