in reply to Re^3: Inability to UnDo a Vote (prior to executing the actual "vote!"
in thread Inability to UnDo a Vote (prior to executing the actual "vote!"

I guess I'm surprised.

I would have thought that "Vote" would *never* enter something for those nodelets that have the "+=0" button selected.

I guess I'm dense, but I don't understand why a "no vote" would result in a vote. Seems wasteful to me.

I guess I'm just not seeing the "big picture."

ack Albuquerque, NM
  • Comment on Re^4: Inability to UnDo a Vote (prior to executing the actual "vote!"

Replies are listed 'Best First'.
Re^5: Inability to UnDo a Vote (prior to executing the actual "vote!"
by kyle (Abbot) on Feb 18, 2009 at 01:55 UTC

    I'm not saying an empty vote enters anything into the database. In fact, I'm sure it doesn't. I'm saying, rather, that an explicitly selected "+=0" vote would be sent by the browser for the site to process (into a noop) while not having either "++" or "--" selected does not result in anything being sent.

    For example, on a page with ten nodes, you vote on one of them. With the default setting, the site receives one selection—for the one node you voted on. With "+=0" present (and selected in nine places), it gets selections for all ten nodes, because that's what the browser sends. I haven't seen the site's code, but I'd be surprised if it doesn't then discard all the "+=0" votes.