for 800x600
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 4 Oct 2006 19:06:38 +0000 (19:06 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 4 Oct 2006 19:06:38 +0000 (19:06 +0000)
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
Open-ILS/xul/staff_client/server/cat/copy_browser.xul

index 39b01aa..66e79df 100644 (file)
@@ -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();
index 62d9e1d..b9b6e96 100644 (file)
                </popup>
        </popupset>
 
-       <groupbox flex="1">
+       <groupbox flex="1" class="my_overflow">
                <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"/>
+               </hbox>
+               <hbox>
+                       <checkbox id="show_acns" label="Show Volumes" />
+                       <checkbox id="show_acps" label="Show Items" />
                        <button label="Refresh" command="cmd_refresh_list" />
-                       <!-- <button label="Clear" command="cmd_clear" accesskey="C"/> -->
+                       <button label="Show Libs With Items" command="cmd_show_libs_with_copies" accesskey="L"/>
                        <!-- <button label="Show My Libs" command="cmd_show_my_libs" accesskey="M"/>-->
                        <!--
-                       <button label="Show Libs With Items" command="cmd_show_libs_with_copies" accesskey="L"/>
                        <button label="Show All Libs" command="cmd_show_all_libs" accesskey=""/>
                        -->
                        <spacer flex="1"/>
                                </menu>
                        </menubar>
                </hbox>
-                       <hbox>
-                               <checkbox id="show_acns" label="Show Volumes" />
-                               <checkbox id="show_acps" label="Show Items" />
-                       </hbox>
                <tree id="copy_tree" flex="1" enableColumnDrag="true" context="copy_browser_actions"/>
        </groupbox>