patron search form test and first startup tab = js shell
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 1 Jul 2005 00:10:23 +0000 (00:10 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 1 Jul 2005 00:10:23 +0000 (00:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1013 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/main/app_shell.js
Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul

index 185c4a6..9e91769 100644 (file)
@@ -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 ) {
index 72e4b0f..8e7b334 100644 (file)
@@ -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',
                        { }
                ); "/>