Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

"Vote" button appears when there is nothing to vote about.

by TVSET (Chaplain)
on Oct 29, 2003 at 00:07 UTC ( [id://302864]=monkdiscuss: print w/replies, xml ) Need Help??

It's a small thing, but it's still a bug...

In threads, where I do not have any more voting abilities (still have votes, but I've voted on all nodes) the "Vote" button still shines on the bottom.

Or does it have any other functionality except obvious? :)

  • Comment on "Vote" button appears when there is nothing to vote about.

Replies are listed 'Best First'.
Re: "Vote" button appears when there is nothing to vote about.
by Chady (Priest) on Oct 29, 2003 at 08:01 UTC

    I don't see it as a bug. I actually use the vote button a lot; not to vote, but to refresh the page when the talk button is more than a scroll above.


    He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

    Chady | http://chady.net/
Re: "Vote" button appears when there is nothing to vote about.
by castaway (Parson) on Oct 29, 2003 at 08:49 UTC
    Just take it as a useless feature. Seeing as checking to see if it should display the button or not would probably mean yet another extra SQL query to the DB, I'd rather see the button than slow down PM any more.. ,)

    C.

      I don't get why people here tend to think just everything needs to be an SQL query.

      Just keep track on whether or not any vote radio buttons have been emitted, or not. At the end, when it's time to finally emit the submit button, just supporess when there haven't been any.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://302864]
Approved by particle
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-23 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found