<!ENTITY staff.circ.holds.retarget.accesskey "T">
<!ENTITY staff.circ.holds.cancel "Cancel Hold">
<!ENTITY staff.circ.holds.cancel.accesskey "C">
+<!ENTITY staff.circ.holds.uncancel "Un-cancel Hold">
+<!ENTITY staff.circ.holds.uncancel.accesskey "U">
<!ENTITY staff.circ.holds.save_columns "Save Columns">
<!ENTITY staff.circ.holds.save_columns.accesskey "">
<!ENTITY staff.hold_list.cancel_hold_dialog.title "Cancel Hold">
staff.patron.holds.holds_cancel.cancel_for_barcodes.title=Cancelling Transits
staff.patron.holds.holds_cancel.hold_transits_not_cancelled=Hold transits not likely cancelled.
staff.patron.holds.holds_cancel.hold_not_cancelled=Holds not likely cancelled.
+staff.patron.holds.holds_uncancel.hold_not_uncancelled=Holds not likely un-cancelled.
staff.patron.holds.show_catalog.unknown_htype=I do not understand the hold type of %1$s so I can not display the appropriate record in the catalog.
staff.patron.holds.show_catalog.retrieving_title=Retrieving title...
staff.patron.holds.lib_menus.missing_library_list=Missing library list.
obj.controller.view.cmd_alt_view.setAttribute('disabled','false');
obj.controller.view.cmd_holds_retarget.setAttribute('disabled','false');
obj.controller.view.cmd_holds_cancel.setAttribute('disabled','false');
+ obj.controller.view.cmd_holds_uncancel.setAttribute('disabled','false');
obj.controller.view.cmd_show_catalog.setAttribute('disabled','false');
} else {
obj.controller.view.sel_mark_items_damaged.setAttribute('disabled','true');
obj.controller.view.cmd_alt_view.setAttribute('disabled','true');
obj.controller.view.cmd_holds_retarget.setAttribute('disabled','true');
obj.controller.view.cmd_holds_cancel.setAttribute('disabled','true');
+ obj.controller.view.cmd_holds_uncancel.setAttribute('disabled','true');
obj.controller.view.cmd_show_catalog.setAttribute('disabled','true');
}
}
}
}
],
+ 'cmd_holds_uncancel' : [
+ ['command'],
+ function() {
+ try {
+ JSAN.use('util.functional');
+ for (var i = 0; i < obj.retrieve_ids.length; i++) {
+ var robj = obj.network.simple_request('FM_AHR_UNCANCEL',[ ses(), obj.retrieve_ids[i].id]);
+ if (typeof robj.ilsevent != 'undefined') throw(robj);
+ }
+ obj.clear_and_retrieve();
+ } catch(E) {
+ obj.error.standard_unexpected_error_alert($("patronStrings").getString('staff.patron.holds.holds_uncancel.hold_not_uncancelled'),E);
+ }
+ }
+ ],
+
'cmd_retrieve_patron' : [
['command'],
function() {
<command id="cmd_broken" disabled="true" hidden="true"/>
<command id="cmd_holds_retarget"/>
<command id="cmd_holds_cancel" />
+ <command id="cmd_holds_uncancel" />
<command id="cmd_search_opac" />
<command id="save_columns" />
<command id="cmd_alt_view" />
<menuitem command="sel_mark_items_missing" label="&staff.circ.holds.mark_item_missing;" accesskey="&staff.circ.holds.mark_item_missing.accesskey;"/>
<menuitem label="&staff.circ.holds.retarget;" command="cmd_holds_retarget" accesskey="&staff.circ.holds.retarget.accesskey;"/>
<menuitem label="&staff.circ.holds.cancel;" command="cmd_holds_cancel" accesskey="&staff.circ.holds.cancel.accesskey;"/>
+ <menuitem label="&staff.circ.holds.uncancel;" command="cmd_holds_uncancel" accesskey="&staff.circ.holds.uncancel.accesskey;"/>
<menuseparator />
<menuitem command="save_columns" label="&staff.circ.holds.save_columns;" accesskey="&staff.circ.holds.save_columns.accesskey;"/>
</popup>
<menuitem command="sel_mark_items_missing" label="&staff.circ.holds.mark_item_missing;" accesskey="&staff.circ.holds.mark_item_missing.accesskey;"/>
<menuitem label="&staff.circ.holds.retarget;" command="cmd_holds_retarget" accesskey="&staff.circ.holds.retarget.accesskey;"/>
<menuitem label="&staff.circ.holds.cancel;" command="cmd_holds_cancel" accesskey="&staff.circ.holds.cancel.accesskey;"/>
+ <menuitem label="&staff.circ.holds.uncancel;" command="cmd_holds_uncancel" accesskey="&staff.circ.holds.uncancel.accesskey;"/>
<menuseparator />
<menuitem command="save_columns" label="&staff.circ.holds.save_columns;" accesskey="&staff.circ.holds.save_columns.accesskey;"/>
</menupopup>