obj.show_my_libs( ml.value );
+ obj.network.simple_request('FM_ACP_COUNT',[ obj.data.tree.aou.id(), obj.docid ],function(req){
+ try {
+ var robj = req.getResultObject();
+ var x = document.getElementById('consortial_total');
+ if (x) x.setAttribute('value',robj[0].count);
+ x = document.getElementById('consortial_available');
+ if (x) x.setAttribute('value',robj[0].available);
+ } catch(E) {
+ obj.error.standard_unexpected_error_alert('Error retrieving consortial copy count.',E);
+ }
+ });
+
} catch(E) {
this.error.standard_unexpected_error_alert('cat.copy_browser.init: ',E);
}
<hbox><label id="legend" style="font-size: large" class="has_copies" value="Green in the list below means the library has volumes for this record." hidden="true"/></hbox>
<hbox>
<hbox id="x_lib_menu"/>
+ <spacer flex="1"/>
+ <label value="Consortial Total:"/><label id="consortial_total"/>
+ <label value="Available:"/><label id="consortial_available"/>
</hbox>
<hbox>
<checkbox id="show_acns" label="Show Volumes" />