lhuang / cnprog

Automatically exported from code.google.com/p/cnprog
Other
0 stars 0 forks source link

make "delete" and "undelete" actions separate #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. give an answer
2. click delete answer link
3. reload page -> answer looks pink - since it was deleted, however there's
still "delete" link - should be "undelete"
4. click "delete" link again -> get message "answer deleted" - even though
it was actually undeleted.

user might get impression that question delete does not work, since he/she
can click delete many times and the answer view does not change unless the
page is reloaded

Original issue reported on code.google.com by evgeny.f...@gmail.com on 21 Jun 2009 at 10:13

GoogleCodeExporter commented 8 years ago
I've fixed this, modified some javascript and a template. maybe not the best 
way, but
take a look.

Original comment by evgeny.f...@gmail.com on 22 Jun 2009 at 12:13

Attachments: