[open-ils-commits] r17507 - trunk/Open-ILS/xul/staff_client/server/cat (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 8 00:07:35 EDT 2010


Author: phasefx
Date: 2010-09-08 00:07:32 -0400 (Wed, 08 Sep 2010)
New Revision: 17507

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js
Log:
disabled lib menu entries in Holdings Maintenance was an artifact of that menu data being generated and used in other contexts.  This enables all the libs for the menu in Holdings Maintenance


Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js	2010-09-07 20:50:58 UTC (rev 17506)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js	2010-09-08 04:07:32 UTC (rev 17507)
@@ -953,6 +953,9 @@
             file = new util.file('offline_ou_list'); 
             if (file._file.exists()) {
                 list_data = file.get_object(); file.close();
+                for (var i = 0; i < list_data[0].length; i++) { // make sure all entries are enabled
+                    list_data[0][i][2] = false;
+                }
                 ml = util.widgets.make_menulist( list_data[0], list_data[1] );
                 ml.setAttribute('id','lib_menu'); document.getElementById('x_lib_menu').appendChild(ml);
                 for (var i = 0; i < obj.org_ids.length; i++) {



More information about the open-ils-commits mailing list