This commit is contained in:
David Baumgold
2013-07-01 17:15:30 -04:00
parent 84bbd84a54
commit c5c1fd08ae

View File

@@ -38,7 +38,7 @@ $(function() {
$(window).on("beforeunload", function() {
var dirty = textbooks.find(function(textbook) { return textbook.isDirty(); });
if(dirty) {
return "You have unsaved changes. Do you really want to leave this page?";
return gettext("You have unsaved changes. Do you really want to leave this page?");
}
})
})