JS: When 2 voting forms are there for the same node, and a vote is cast, the other one should go grey
mercmobily - September 9, 2008 - 09:30
| Project: | Extra Voting Forms |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | cedricfontaine |
| Status: | postponed |
Jump to:
Description
Hi,
This is a specific feature that was there and it somehow got lost -- I guess when we changed the IDs?
If we have multiple voting forms for the same node, and a user votes using one of them, the other one should go "disabled". So, by design, the user should pick which form s/he is going to use.
This is very easy to reproduce: get http://www.drigg-code.org/files/www.drigg-code.org/drigg-distr.tgz , uncompress it, and vote using one of the two forms.
There is a javascript function there that should take care of disabling the other forms.
Cedric, can you please look into this?
Thanks a lot!
Merc.

#1
Which 2 forms ? Where can i see it live to be sure I got it.
#2
Hi,
http://www.drigg.org/upcoming/newest
Each node has 2 forms to vote -- one is the big one, and the other one is the select box in the Links section. So, that's two different forms for the same node!
When voting on one of them, the other one should go gray (disabled). There's code there NOW to do that, but for some reason it's not happening...
Merc.
#3
Hi,
Can somebody please please please look into this?
Merc.
#4
Hi,
Marking as postponed, looking for somebody able and willing to help with this.
Merc.
#5
#6
Hi,
Marking it as postponed since I can't really do much. I am looking for somebody to look into it.
Merc.
#7