// A renewed circ is a new circ, and has a new circ_id.
obj.list_circ_map[ r[0].payload.circ.id() ] = obj.list_circ_map[ circ_id ];
} else {
- l.setAttribute('value', bc + ' not renewed. ' + r[0].textcode + r[0].desc);
+ var msg = bc + ' not renewed.\n' + r[0].textcode + r[0].desc;
+ l.setAttribute('value', msg);
+ alert(msg);
}
count--;
if (count == 0) {
}
obj.refresh(circ_id);
} catch(E) {
- obj.error.standard_unexpected_error_alert('Error in renew_via_barcode callback\nRenew probably did not happen for barcode ' + barcode,E);
+ obj.error.standard_unexpected_error_alert('Error in renew_via_barcode callback\nRenew probably did not happen for barcode ' + barcode,E);
}
}
);