From ce8f72b9e370407324d873385b6b25b78a5c4b50 Mon Sep 17 00:00:00 2001 From: pines Date: Wed, 4 Oct 2006 19:06:38 +0000 Subject: [PATCH] for 800x600 git-svn-id: svn://svn.open-ils.org/ILS/trunk@6381 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_browser.js | 10 ++++++++++ Open-ILS/xul/staff_client/server/cat/copy_browser.xul | 13 ++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) 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 39b01aa3fc..66e79df580 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js @@ -928,6 +928,7 @@ cat.copy_browser.prototype = { var funcs = []; funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','true'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','true'); document.getElementById('lib_menu').setAttribute('disabled','true'); } ); for (var i = 0; i < p_org.children().length; i++) { @@ -941,6 +942,7 @@ cat.copy_browser.prototype = { } funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','false'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','false'); document.getElementById('lib_menu').setAttribute('disabled','false'); } ); exec.chain( funcs ); @@ -961,6 +963,7 @@ cat.copy_browser.prototype = { var funcs = []; funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','true'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','true'); document.getElementById('lib_menu').setAttribute('disabled','true'); } ); @@ -975,6 +978,7 @@ cat.copy_browser.prototype = { } funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','false'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','false'); document.getElementById('lib_menu').setAttribute('disabled','false'); } ); @@ -1003,6 +1007,7 @@ cat.copy_browser.prototype = { var funcs = []; funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','true'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','true'); document.getElementById('lib_menu').setAttribute('disabled','true'); } ); @@ -1017,6 +1022,7 @@ cat.copy_browser.prototype = { } funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','false'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','false'); document.getElementById('lib_menu').setAttribute('disabled','false'); } ); @@ -1109,6 +1115,7 @@ cat.copy_browser.prototype = { var funcs = []; funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','true'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','true'); document.getElementById('lib_menu').setAttribute('disabled','true'); } ); if (acn_tree.copies()) { @@ -1124,6 +1131,7 @@ cat.copy_browser.prototype = { } funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','false'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','false'); document.getElementById('lib_menu').setAttribute('disabled','false'); } ); JSAN.use('util.exec'); var exec = new util.exec(); @@ -1141,6 +1149,7 @@ cat.copy_browser.prototype = { var funcs = []; funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','true'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','true'); document.getElementById('lib_menu').setAttribute('disabled','true'); } ); if (org.children()) { @@ -1167,6 +1176,7 @@ cat.copy_browser.prototype = { } funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','false'); + document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','false'); document.getElementById('lib_menu').setAttribute('disabled','false'); } ); JSAN.use('util.exec'); var exec = new util.exec(); diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.xul b/Open-ILS/xul/staff_client/server/cat/copy_browser.xul index 62d9e1ddbd..b9b6e96d2a 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_browser.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.xul @@ -123,16 +123,19 @@ - + + + + +