Bug 4354 follow-up: correct phrasing of alert

Rather than saying "Are you sure you want to lost your changes" the
message that pops up when a user cancels changes to an existing row
should be "Are you sure you want to cancel your changes?" or something
along those lines. I went with that exact string.
This commit is contained in:
Jared Camins-Esakov 2013-03-21 20:04:09 -04:00
parent 1cb51d7685
commit 2a7d29beb3
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
//<![CDATA[
function clear_edit(){
var cancel = confirm(_("Are you sure you want to lost your changes?"));
var cancel = confirm(_("Are you sure you want to cancel your changes?"));
if ( !cancel ) return;
$('#default-circulation-rules td').removeClass('highlighted-row');
var edit_row = $("#edit_row");