From: Michael Peters Date: Mon, 17 Dec 2012 14:10:19 +0000 (-0500) Subject: LP#1090385 Fix success message for copy template deletion X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c6ed8a8c91a23452ac9bb99a271cd31ef1b175ba;p=contrib%2FConifer.git LP#1090385 Fix success message for copy template deletion We were displaying the "confirm" message twice, instead of the existing "success" message. Signed-off-by: Michael Peters Signed-off-by: Ben Shum --- diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js index 6af09ce326..1e826c20c7 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -440,7 +440,7 @@ g.delete_template = function() { if (typeof robj.ilsevent != 'undefined') { throw(robj); } else { - alert($('catStrings').getFormattedString('staff.cat.copy_editor.delete_template.confirm', [name])); + alert($('catStrings').getFormattedString('staff.cat.copy_editor.delete_template.success', [name])); setTimeout( function() { try {