From: Mike Rylander Date: Fri, 12 Jun 2015 18:29:02 +0000 (-0400) Subject: LP#902255: Use simple alert box X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=37b2d387bb0ea1a6581c3106a45a978bf70a632c;p=evergreen%2Fmasslnc.git 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 --- 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 */ }