Author: humbedooh
Date: Mon Mar 16 14:37:23 2015
New Revision: 1667017
URL: http://svn.apache.org/r1667017
Log:
fix some names
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=1667017&r1=1667016&r2=1667017&view=diff
==============================================================================
--- steve/trunk/www/cgi-bin/cast-vote.pl (original)
+++ steve/trunk/www/cgi-bin/cast-vote.pl Mon Mar 16 14:37:23 2015
@@ -414,7 +414,7 @@ sub stv_form_interactive {
var seats = $num; // Number of seats on the board
// Nominees
- var candidates = [ $str_names ];
+ var candidates = [ $str_candidates ];
var chars = [ $str_chars ];
// Statements
Modified: steve/trunk/www/htdocs/steve_interactive.js
URL:
http://svn.apache.org/viewvc/steve/trunk/www/htdocs/steve_interactive.js?rev=1667017&r1=1667016&r2=1667017&view=diff
==============================================================================
--- steve/trunk/www/htdocs/steve_interactive.js (original)
+++ steve/trunk/www/htdocs/steve_interactive.js Mon Mar 16 14:37:23 2015
@@ -406,8 +406,8 @@ function drawList() {
document.getElementById('LOWER').style.borderTop = "none"
// Set the current STV order
- document.getElementById('cast').style.width = (chars_copy.length * 8)+ "px"
- document.getElementById('cast').value = ballotChars.join("")
+ document.getElementById('vote').style.width = (chars_copy.length * 8)+ "px"
+ document.getElementById('vote').value = ballotChars.join("")
}