mywot / chrome

WOT's Chrome extension
http://www.mywot.com/wiki/Chrome
GNU General Public License v3.0
8 stars 7 forks source link

When leaving a comment the add-on indicates a problem with comment #186

Closed sorgoz closed 10 years ago

sorgoz commented 10 years ago

Though there is no error usually, it decides that some thing is wrong.

sorgoz commented 10 years ago

This happens because the event "Update everything" occurs before the server reports "ok" and cache is updated, thus on "update()" and RW.finishstate() it thinks that the comment was changed again but user didn't click "save" thus the comment goes to local storage.