Closed (fixed)
Project:
Vote Up/Down
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Oct 2007 at 14:55 UTC
Updated:
27 Dec 2007 at 09:34 UTC
I'm working around vote_up_down to hook a link into $links instead of using the widgets. However, I noticed when the comment widget was disabled, the comment 'reset vote' link disappeared too.
Thought it was a bug; peeked at the code. I considered that this might have been by design, since if vote reset is enabled, that link wouldn't disappear at all otherwise, even if voting wasn't desired on comments. But it seems to me it'd be better if it disappeared when both widget and vote total display are disabled; here's a quick patch doing just that.
| Comment | File | Size | Author |
|---|---|---|---|
| vote_up_down.module-resetlink.patch | 907 bytes | Nall |
Comments
Comment #1
awong commentedThe patch is working. I think it is a good idea to do that, then you have control on the link and widget
Comment #2
frjo commentedWorks for me also. Committed to 5-dev. Thanks for the patch Nall.
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.