in reply to node voting oddity
I observed something similar a few days ago - and unfortunately, just a few minutes ago. When voting on multiple nodes (root- and replies), the votes get tallied but all nodes that were not voted have their up-vote button checked after the updated page is presented. So hitting the submit button twice results in all nodes being up-voted ;-)
It seems to be a server problem as the following code snippets try to illustrate:
Before voting / freshly loaded page:After voting / reloaded page:<div class="vote"><center> <label><label><input type="radio" name="vote__86xxxx" value="1" />++</ +label></label> <label><label><input type="radio" name=" +vote__86xxxx" value="-1" />--</label></label> </center></div>
Note the checked tag (I masked the real vote id xxxx, BTW). Expected behavior: no checked tag for nodes not voted and no input tags but a reputation header for those nodes voted.<div class="vote"><center> <label><label><input type="radio" name="vote__86xxxx" value="1" checke +d="checked" />++</label></label> <label><label><input type="radio" name="vote__86xxxx" value="-1" />--< +/label></label> </center></div>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: node voting oddity (CGI)
by tye (Sage) on Sep 23, 2010 at 23:26 UTC | |
by Anonyrnous Monk (Hermit) on Dec 16, 2010 at 12:52 UTC |