You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2015/03/16 15:42:50 UTC

svn commit: r1667019 - /steve/trunk/www/cgi-bin/cast-vote.pl

Author: humbedooh
Date: Mon Mar 16 14:42:49 2015
New Revision: 1667019

URL: http://svn.apache.org/r1667019
Log:
fix dragging issue

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=1667019&r1=1667018&r2=1667019&view=diff
==============================================================================
--- steve/trunk/www/cgi-bin/cast-vote.pl (original)
+++ steve/trunk/www/cgi-bin/cast-vote.pl Mon Mar 16 14:42:49 2015
@@ -446,7 +446,8 @@ sub stv_form_interactive {
             back to the list of remaining candidates to the left.
         </p>
         
-        <div id="candidates">
+        <div id="candidates" ondragover="event.preventDefault();"
+         ondragenter="event.preventDefault();" ondragend="event.preventDefault();">
             Not seeing the canidate list? Please enable JavaScript!
         </div>