Discard edit confirmation even when editing has been stopped
While in the middle of a question edit and another user edits the question, you get a notification notifying you that there are changes since you entered edit mode. This is fine, and if you click it you're displayed the new changes. However, clicking it (and thus escaping the edit mode) doesn't clear the "dirty" flag, making SO prompt you when you go to leave the page.
To see what I mean:
- Open a question that needs editing.
- Click edit and begin your revisions.
- Wait for another user to edit and save changes while you're still editing
The gray bar should now show up letting you know there are changes
- Click the bar.
You'll now leave edit mode and be dumped on the question showing the newest changes
- Click any link on the page
This is where the typical This page is asking if you're sure you want to leave dialog appears (when it shouldn't--we're no longer in edit mode). My assumption is the "dirty flag" isn't reset when SO re-populates the page with the revised content (but instead just hidden and back-populated with AJAX).
Just thought I'd mention it.