Instead of the generic communication error dialog, we'll use
the simple yns_alert box instead.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
} 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 */ }