From 37b2d387bb0ea1a6581c3106a45a978bf70a632c 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 2328f4f75b..32bfabfffd 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -3609,7 +3609,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.43.2