var req = new Request(method, hold.target());
req.callback(myOPACFleshHoldTitle);
req.request.hold = hold;
+ req.request.alertEvent = false;
req.send();
} else {
var title_link = $n(row, "myopac_holds_title_link");
var author_link = $n(row, "myopac_holds_author_link");
+ if(!record || checkILSEvent(record) ) {
+ addCSSClass(row, 'invalid_hold');
+ $n(row, 'myopac_holds_edit_link').setAttribute('href', 'javascript:void(0);');
+ $n(row, 'myopac_holds_edit_link').onclick = function(){alertId('invalid_hold');};
+ return;
+ }
+
buildTitleDetailLink(record, title_link);
buildSearchLink(STYPE_AUTHOR, record.author(), author_link);
Please see any notes in the "Staff Notes" section of your "My Account" page or contact your local library.
</span>
+ <span id='invalid_hold' class='hide_me'>
+ This hold is no longer valid.
+ It's likely that the target for the hold was deleted from the system.
+ Please cancel this hold and place a new one.
+ </span>
+
</div>