From: dbwells Date: Tue, 15 Mar 2011 22:46:23 +0000 (+0000) Subject: Re-enable close button for staff client tabs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=845055f3405ab94a6c509f6909f9f2b26e9369e1;p=evergreen%2Fjoelewis.git Re-enable close button for staff client tabs There is a different fix for this in trunk/2.1, but I thought a simple fix for this was worth adding for those sticking with 2.0 for a while. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19757 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index c57d3601b3..c87a7ec22d 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -1292,7 +1292,7 @@ main.menu.prototype = { obj.controller.init( { 'window_knows_me_by' : 'g.menu.controller', 'control_map' : cmd_map } ); obj.controller.view.tabbox = window.document.getElementById('main_tabbox'); - obj.controller.view.tabs = obj.controller.view.tabbox.firstChild; + obj.controller.view.tabs = window.document.getElementById('main_tabs'); obj.controller.view.panels = obj.controller.view.tabbox.lastChild; obj.new_tab(null,{'focus':true},null); diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul index 812bb055b0..fda936d68c 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul @@ -4,6 +4,8 @@ + + @@ -16,17 +18,23 @@ - - + + + + + + + +