From: phasefx Date: Fri, 1 Jul 2005 00:10:23 +0000 (+0000) Subject: patron search form test and first startup tab = js shell X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2c80a63db18a00791f81dd5d8e769aa6a4e93c33;p=Evergreen.git patron search form test and first startup tab = js shell git-svn-id: svn://svn.open-ils.org/ILS/trunk@1013 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 185c4a6fd0..9e9176940e 100644 --- a/Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js +++ b/Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js @@ -9,7 +9,8 @@ function app_shell_init(p) { p.w.replace_tab = function (label,chrome,params) { return replace_tab(p.d,p.tabbox,label,chrome,params); }; p.w.get_frame_in_tab = function (idx, all_or_vis) { return get_frame_in_tab( p.d, p.tabbox, idx, all_or_vis ); }; - p.w.replace_tab('Tab','chrome://evergreen/content/main/about.xul'); + //p.w.replace_tab('Tab','chrome://evergreen/content/main/about.xul'); + spawn_javascript_shell(p.w.document,'replace_tab','main_tabbox',{}); } 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 72e4b0f97d..8e7b334ed0 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 @@ -66,7 +66,7 @@ document, 'new_tab', 'main_tabbox', - 'chrome://evergreen/content/main/clam_shell.xul', + 'chrome://evergreen/content/patron/patron_search_form.xul', 'test', { } ); "/>