style explanation for dropdown
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 28 Sep 2006 14:02:03 +0000 (14:02 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 28 Sep 2006 14:02:03 +0000 (14:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6249 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_browser.js
Open-ILS/xul/staff_client/server/cat/copy_browser.xul

index 3cf40a6..b544234 100644 (file)
@@ -852,6 +852,20 @@ cat.copy_browser.prototype = {
                                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) {
index 4344d53..0b24bbe 100644 (file)
 
        <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" />