From: phasefx Date: Wed, 6 Jul 2005 13:27:46 +0000 (+0000) Subject: tweaking for speed test X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cced78c301a0888d5d0709645dea0c30ffb72795;p=Evergreen.git tweaking for speed test git-svn-id: svn://svn.open-ils.org/ILS/trunk@1069 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js b/Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js index d80d3fff6b..ebdfed9ffb 100644 --- a/Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js +++ b/Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js @@ -9,9 +9,19 @@ function app_shell_init(p) { p.w.replace_tab = function (label,chrome,params) { return replace_tab(p.w.document,p.tabbox,label,chrome,params); }; p.w.get_frame_in_tab = function (idx, all_or_vis) { return get_frame_in_tab( p.w.document, p.tabbox, idx, all_or_vis ); }; - //p.w.replace_tab('Tab','chrome://evergreen/content/main/about.xul'); - spawn_javascript_console(p.w.document,'replace_tab','main_tabbox',{}); - spawn_javascript_shell(p.w.document,'new_tab','main_tabbox',{}); + p.w.replace_tab('Tab','chrome://evergreen/content/main/about.xul'); + /* + setTimeout( + function () { + spawn_javascript_console(p.w.document,'replace_tab','main_tabbox',{}); + setTimeout( + function () { + spawn_javascript_shell(p.w.document,'new_tab','main_tabbox',{}); + }, 2 + ); + }, 2 + ); + */ } function close_tab( d, t1, t2 ) { diff --git a/Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul b/Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul index 3e862147eb..3c8e4bee96 100644 --- a/Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul +++ b/Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul @@ -81,7 +81,7 @@ - +