alert($("catStrings").getString('staff.cat.util.transfer_copies.successful_transfer'));
}
- cat.util.pauseComp(1000);
-
- return network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE', [ params.copy_ids ]);
+ return network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE.authoritative', [ params.copy_ids ]);
} catch(E) {
error.standard_unexpected_error_alert($("catStrings").getString('staff.cat.util.transfer_copies.transfer_error'),E);
$("catStrings").getFormattedString('staff.cat.util.mark_item_damaged.multiple_item_damaged', [count]));
}
}
-
- cat.util.pauseComp(1000);
- return network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE', [ copy_ids ]);
+ return network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE.authoritative', [ copy_ids ]);
} catch(E) {
if (error) error.standard_unexpected_error_alert('cat.util.mark_item_damaged',E); else alert('FIXME: ' + E);
}
}
- cat.util.pauseComp(1000);
-
- return network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE', [ copy_ids ]);
+ return network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE.authoritative', [ copy_ids ]);
} catch(E) {
if (error) error.standard_unexpected_error_alert('cat.util.mark_item_missing',E); else alert('FIXME: ' + E);
}
}
- cat.util.pauseComp(1000);
-
- return network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE', [ copy_ids ]);
+ return network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE.authoritative', [ copy_ids ]);
} catch(E) {
alert('Error in cat.util.mark_item_as_missing_pieces: ' + E);
return false;
}
}
- cat.util.pauseComp(1000);
-
- var copies = network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE', [ copy_ids ]);
+ var copies = network.simple_request('FM_ACP_UNFLESHED_BATCH_RETRIEVE.authoritative', [ copy_ids ]);
if (typeof copies.ilsevent != 'undefined') throw(copies);
return copies;
JSAN.use('util.network'); var network = new util.network();
- return network.simple_request('FM_ACP_BATCH_RETRIEVE_VIA_ACN_LIST', vol_ids);
+ return network.simple_request('FM_ACP_BATCH_RETRIEVE_VIA_ACN_LIST.authoritative', vol_ids);
} catch(E) {
alert('Error in cat.util.request_items: ' + E);
return null;
}
}
-cat.util.pauseComp = function(ms) {
- var curr = new Date().getTime();
- ms += curr;
- while (curr < ms){
- curr = new Date().getTime();
- }
-}
-
dump('exiting cat/util.js\n');