Author: humbedooh
Date: Mon Mar 16 14:48:49 2015
New Revision: 1667021
URL: http://svn.apache.org/r1667021
Log:
naming issues?
Modified:
steve/trunk/www/cgi-bin/cast-vote.pl
steve/trunk/www/htdocs/steve_interactive.js
Modified: steve/trunk/www/cgi-bin/cast-vote.pl
URL:
http://svn.apache.org/viewvc/steve/trunk/www/cgi-bin/cast-vote.pl?rev=1667021&r1=1667020&r2=1667021&view=diff
==============================================================================
--- steve/trunk/www/cgi-bin/cast-vote.pl (original)
+++ steve/trunk/www/cgi-bin/cast-vote.pl Mon Mar 16 14:48:49 2015
@@ -464,7 +464,7 @@ sub stv_form_interactive {
<b>Your STV order:</b>
<input type="text" id="vote" name="vote" style="width:
160px; font-family:
monospace;"/> <input type="submit" value="Cast votes"/>
- <input type="button" value="Reset" onclick="reset()"/>
+ <input type="button" value="Reset" onclick="resetList()"/>
</form>
</div>
</div>
Modified: steve/trunk/www/htdocs/steve_interactive.js
URL:
http://svn.apache.org/viewvc/steve/trunk/www/htdocs/steve_interactive.js?rev=1667021&r1=1667020&r2=1667021&view=diff
==============================================================================
--- steve/trunk/www/htdocs/steve_interactive.js (original)
+++ steve/trunk/www/htdocs/steve_interactive.js Mon Mar 16 14:48:49 2015
@@ -54,7 +54,7 @@ function cancel(ev) {
ev.preventDefault()
}
-function reset() {
+function resetList() {
candidates = []
chars = []
for (i in candidates_copy) candidates.push(candidates_copy[i])