ASKBOT/askbot-devel — pull request #92 by xuaveneg (2012-07-31 08:00:03+00:00)
Title: Upgrading flag buttons

I find it kind of weird to have 2 buttons for flag, and that we have to refresh the page when adding a flag to see these 2 buttons, so I modified it to have only 1 button.
When you haven't flagged a post, it add a flag and change its shape, when you have flagged a post, it remove your flag and change its shape.
And the number in brackets is almost always correct (you haven't to refresh anymore)