From dce0c479378fb7bbb9cd663ee4ab04c5cae8a404 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 e430b8e73f..15a9b95bd7 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js @@ -410,7 +410,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.11.0