for (var i = 0; i < obj.org_ids.length; i++) {
ml.getElementsByAttribute('value',obj.org_ids[i])[0].setAttribute('class','has_copies');
}
+ ml.firstChild.addEventListener(
+ 'popupshown',
+ function(ev) {
+ document.getElementById('legend').setAttribute('hidden','false');
+ },
+ false
+ );
+ ml.firstChild.addEventListener(
+ 'popuphidden',
+ function(ev) {
+ document.getElementById('legend').setAttribute('hidden','true');
+ },
+ false
+ );
ml.addEventListener(
'command',
function(ev) {
<groupbox flex="1">
<caption label="Holdings Maintenance"/>
+ <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"/>
<button label="Refresh" command="cmd_refresh_list" />