LP#1090385 Fix success message for copy template deletion
authorMichael Peters <mrpeters@library.in.gov>
Mon, 17 Dec 2012 14:10:19 +0000 (09:10 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 18 Dec 2012 03:52:28 +0000 (22:52 -0500)
We were displaying the "confirm" message twice, instead of the
existing "success" message.

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/xul/staff_client/server/cat/copy_editor.js

index 6af09ce..1e826c2 100644 (file)
@@ -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 {