tab disable is broken. Tab gets styled as disabled, but doesn't get unstyled. A...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 31 Aug 2005 18:12:08 +0000 (18:12 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 31 Aug 2005 18:12:08 +0000 (18:12 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1780 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/cat/browse_list_overlay.xul
Evergreen/staff_client/chrome/content/evergreen/cat/details.xul

index 7bc0c0d..ae4473c 100644 (file)
@@ -18,7 +18,7 @@
        <command id="cmd_volume_delete" oncommand="volume_delete(false,{ 'tree' : 'browse_list_tree', 'refresh_func' : refresh_browse_list });"/>
        <command id="cmd_copy_add" oncommand="copy_add(false,{ 'tree' : 'browse_list_tree', 'refresh_func' : refresh_browse_list });"/>
        <!--<command id="cmd_copy_edit" oncommand="spawn_batch_copy_editor(window.app_shell, 'new_tab', 'main_tabbox', { 'tree' : document.getElementById('browse_list_tree') , 'refresh_func' : refresh_browse_list });"/>-->
-       <command id="cmd_copy_edit" oncommand="spawn_batch_copy_editor(window.parent_window.document, 'replace_iframe', 'copy_editor', { 'tree' : document.getElementById('browse_list_tree') , 'refresh_func' : refresh_browse_list }); window.parent_window.document.getElementById('copy_editor').disabled = false;"/>
+       <command id="cmd_copy_edit" oncommand="spawn_batch_copy_editor(window.parent_window.document, 'replace_iframe', 'copy_editor', { 'tree' : document.getElementById('browse_list_tree') , 'refresh_func' : refresh_browse_list }); window.parent_window.document.getElementById('copy_editor_tab').disabled = false;"/>
        <command id="cmd_copy_delete" oncommand="copy_delete(false,{ 'tree' : 'browse_list_tree', 'refresh_func' : refresh_browse_list });"/>
        <command id="cmd_toggle_my_libs" oncommand="button_toggle_my_libraries(event);"/>
        <command id="cmd_toggle_libs" oncommand="button_toggle_libraries(event);"/>
index 42afbcf..b8c2fc5 100644 (file)
@@ -24,6 +24,7 @@
 
                function my_init() {
 
+                       document.getElementById('copy_editor_tab').disabled = true;
                        chain_exec(
                                my_init_spawn_brief_view,
                                my_init_spawn_marc_view,
@@ -91,7 +92,7 @@
                                <tab label="MARC View"/>
                                <tab label="MARC Edit"/>
                                <tab label="Copy Browser"/>
-                               <tab label="Copy Editor" disabled="true"/>
+                               <tab label="Copy Editor" id="copy_editor_tab" disabled="true"/>
                        </tabs>
                        <tabpanels flex="1">
                                <tabpanel id="opac_view"/>