default: g.error.standard_unexpected_error_alert('volume tree update',r); break;
}
} else {
+ alert('Copies added.');
if (copies.length > 0 && $('print_labels').checked) {
JSAN.use('util.functional');
JSAN.use('OpenILS.data'); var data = new OpenILS.data(); data.stash_retrieve();
var checkin = circ.util.checkin_via_barcode( ses(), barcode );
setTimeout( function(a) { return function() { obj.copy_status( a ); }; }(barcode), 0);
}
+ alert('Action complete.');
} catch(E) {
obj.error.standard_unexpected_error_alert('Checkin did not likely happen.',E);
}
var barcode = obj.selection_list[i].barcode;
setTimeout( function(a) { return function() { obj.copy_status( a ); }; }(barcode), 0);
}
+ alert('Action complete.');
}
],
'sel_patron' : [
alert('Item with barcode ' + barcode + ' is not circulating.');
}
}
+ alert('Action complete.');
}
],