From 79232f54739f371331a3d9e573cffc8621d23035 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Fri, 22 Jun 2012 12:41:20 -0400 Subject: [PATCH] fix typo preventing transit abort error dialogs Signed-off-by: Jason Etheridge Signed-off-by: Galen Charlton --- Open-ILS/xul/staff_client/server/circ/util.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index a7055ae232..af7442f41d 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -35,10 +35,10 @@ circ.util.abort_transits = function(selection_list) { if (typeof robj.ilsevent != 'undefined') { switch(Number(robj.ilsevent)) { case 1225 /* TRANSIT_ABORT_NOT_ALLOWED */ : - alert(document.getElementById('circString').getFormattedString('staff.circ.utils.abort_transits.not_allowed', [copy_id]) + '\n' + robj.desc); + alert(document.getElementById('circStrings').getFormattedString('staff.circ.utils.abort_transits.not_allowed', [copy_id]) + '\n' + robj.desc); break; case 1504 /* ACTION_TRANSIT_COPY_NOT_FOUND */ : - alert(document.getElementById('circString').getString('staff.circ.utils.abort_transits.not_found')); + alert(document.getElementById('circStrings').getString('staff.circ.utils.abort_transits.not_found')); break; case 5000 /* PERM_FAILURE */ : break; @@ -49,7 +49,7 @@ circ.util.abort_transits = function(selection_list) { } } } catch(E) { - obj.error.standard_unexpected_error_alert(document.getElementById('circString').getString('staff.circ.utils.abort_transits.unexpected_error'),E); + obj.error.standard_unexpected_error_alert(document.getElementById('circStrings').getString('staff.circ.utils.abort_transits.unexpected_error'),E); } } }; -- 2.11.0