Prompt when canceling a dirty inlineEditor by default.

Review Request #2438 — Created June 28, 2011 and submitted — Latest diff uploaded

Information

Djblets

Reviewers

Prompt when canceling a dirty inlineEditor by default.

inlineEditor now prompts the user if they cancel via Escape or the Cancel
button when the editor is dirty. The user has a chance to change his mind
instead of just losing everything he wrote. This can be turned off
per-inlineEditor.
Typed some text and hit escape. Got a confirmation dialog. I tested both
accepting and canceling the dialog.

Tested also with the Cancel button.

Also tested with a non-dirty editor, and it didn't prompt me.