Author: humbedooh
Date: Mon Mar 16 14:44:43 2015
New Revision: 1667020
URL: http://svn.apache.org/r1667020
Log:
fix drop catcher for putting names back to the candidate list
Modified:
steve/trunk/www/cgi-bin/cast-vote.pl
Modified: steve/trunk/www/cgi-bin/cast-vote.pl
URL:
http://svn.apache.org/viewvc/steve/trunk/www/cgi-bin/cast-vote.pl?rev=1667020&r1=1667019&r2=1667020&view=diff
==============================================================================
--- steve/trunk/www/cgi-bin/cast-vote.pl (original)
+++ steve/trunk/www/cgi-bin/cast-vote.pl Mon Mar 16 14:44:43 2015
@@ -447,7 +447,8 @@ sub stv_form_interactive {
</p>
<div id="candidates" ondragover="event.preventDefault();"
- ondragenter="event.preventDefault();"
ondragend="event.preventDefault();">
+ ondragenter="event.preventDefault();"
ondragend="event.preventDefault();"
+ ondrop="dropBack(event);">
Not seeing the canidate list? Please enable JavaScript!
</div>