From: phasefx Date: Wed, 8 Sep 2010 04:07:32 +0000 (+0000) Subject: disabled lib menu entries in Holdings Maintenance was an artifact of that menu data... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=650282f8bba1cf1d18bf7546139497cb62fe2664;p=evergreen%2Fbjwebb.git 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@17507 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.js b/Open-ILS/xul/staff_client/server/cat/copy_browser.js index 50ed17efb..f6698775e 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js @@ -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++) {