From c6ed8a8c91a23452ac9bb99a271cd31ef1b175ba Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Mon, 17 Dec 2012 09:10:19 -0500 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/server/cat/copy_editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.43.2