disabled lib menu entries in Holdings Maintenance was an artifact of that menu data...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Sep 2010 04:07:32 +0000 (04:07 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Sep 2010 04:07:32 +0000 (04:07 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17507 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 50ed17e..f669877 100644 (file)
@@ -953,6 +953,9 @@ cat.copy_browser.prototype = {
             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++) {