From 23c846c4c83541a41de267d92d72cb59e3537f57 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 12 Jun 2015 14:29:02 -0400 Subject: [PATCH] LP#902255: Use simple alert box Instead of the generic communication error dialog, we'll use the simple yns_alert box instead. Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier Signed-off-by: Jason Stephenson --- Open-ILS/xul/staff_client/server/circ/util.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index d25d395311..69750536f3 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -3572,7 +3572,13 @@ circ.util.checkin_via_barcode2 = function(session,params,backdate,auto_print,che } else /* UPDATE failed, and async */ if (check.ilsevent == 2001 && async) { check.what_happened = 'error'; sound.special('checkin.error'); - error.standard_network_error_alert(document.getElementById('circStrings').getString('staff.circ.checkin.possible_dupe_scan')); + error.yns_alert( + document.getElementById('circStrings').getString('staff.circ.checkin.possible_dupe_scan'), + document.getElementById('circStrings').getString('staff.circ.alert'), + document.getElementById('circStrings').getString('staff.circ.utils.msg.ok'), + null, null, + document.getElementById('circStrings').getString('staff.circ.confirm.msg') + ); } else { if (check.ilsevent == null) { return null; /* handled */ } -- 2.11.0