Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Improve discard-unsaved-changes dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
dcposch committed May 12, 2014
1 parent c64f3a2 commit 1f6fca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/app.js
Expand Up @@ -1255,7 +1255,7 @@ function keepUnsavedWork() {
$("input[data-default], textarea[data-default]").each(function() {
var el = $(this);
if (trim(el.val()) != trim(el.data("default"))) {
if(!confirm(el.data("displayName")+" is not saved, continue?")) {
if(!confirm("Email has not been sent, continue?")) {
keepUnsaved = true;
}
}
Expand Down

0 comments on commit 1f6fca7

Please sign in to comment.