staff.circ.holds.unexpected_error.not_likely_modified=Holds not likely modified.
staff.circ.holds.unexpected_error.not_likely_activated=Holds not likely activated.
staff.circ.holds.unexpected_error.not_likely_suspended=Holds not likely suspended.
-staff.circ.holds.error.may_not_edit_pickup_lib_for_hold_intransit=You may not edit the pickup library for holds that are in-transit or ready for pickup.
staff.circ.holds.alt_view.label=Detail View
staff.circ.holds.alt_view.accesskey=V
staff.circ.holds.list_view.label=List View
try {
JSAN.use('util.widgets'); JSAN.use('util.functional');
- var deny_edit_because_of_transit = false;
- for (var i = 0; i < obj.retrieve_ids.length; i++) {
- var hold = obj.holds_map[ obj.retrieve_ids[i].id ].hold;
- if (hold.status() == 3 /* In-Transit */) deny_edit_because_of_transit = true;
- }
- if (deny_edit_because_of_transit) {
- alert(document.getElementById('circStrings').getString('staff.circ.holds.error.may_not_edit_pickup_lib_for_hold_intransit'));
- return;
- }
-
var list = util.functional.map_list(
obj.data.list.aou,
function(o) {