I wanted to send some merit to this post:
https://bitcointalk.org/index.php?topic=5161490.0I had 8 sMerit left. I thought to send 3 sMerit for the topic.
I knew there was an issue with sending merit in the send merit page (action=merit). Once you refresh, it spend the smerit again. I never experienced this so I was just curious to check it and was hoping may be theymos found a solution. So I refreshed the page and it showed this pop up of resending the data to the server. I clicked resend and it sent the same sMerit again. Broke my hurt knowing that it was not fixed, felt a bit angry too to lose 3 more smerits.
Now I am left with 2 sMerits so I thought lets refresh it again knowing that this time there should be some message or any error that will tell me that there were not enough smerit (I was interested to see the message this time). But instead I saw this:
This means, theymos tried to handle the event in somewhere in the code in the same page (action=merit) to stop double spending but it is not working.
And while I was experimenting this, I had this idea in mind:
Instead of bringing the user in the same page (action=merit) once they hit the send merit button, why not redirect the user in the topic page (or any other page but topic page is more logical). This way the send merit page (action=merit) is not going to load again with the same set of code when we hit the send merit button.
Make sense?