<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);"/>
function my_init() {
+ document.getElementById('copy_editor_tab').disabled = true;
chain_exec(
my_init_spawn_brief_view,
my_init_spawn_marc_view,
<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"/>