tweaking for speed test
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Jul 2005 13:27:46 +0000 (13:27 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Jul 2005 13:27:46 +0000 (13:27 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1069 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
Evergreen/staff_client/chrome/content/evergreen/main/paged_tree.js
Evergreen/staff_client/chrome/content/evergreen/util/error.js

index d80d3ff..ebdfed9 100644 (file)
@@ -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 ) {
index 3e86214..3c8e4be 100644 (file)
@@ -81,7 +81,7 @@
        <toolbox id="main_toolbox"/>
        <tabbox id="main_tabbox" flex="1" eventnode="window" handleCtrlTab="true">
                <tabs id="main_tabs" closebutton="true">
-                       <tab id="tab_1" accesskey="1" label="Tab 1" />
+                       <tab id="tab_1" accesskey="1" label="Tab 1" hidden="true" />
                        <tab id="tab_2" accesskey="2" label="Tab 2" hidden="true" />
                        <tab id="tab_3" accesskey="3" label="Tab 3" hidden="true" />
                        <tab id="tab_4" accesskey="4" label="Tab 4" hidden="true" />
index bce2501..f97d7ce 100644 (file)
@@ -4,7 +4,7 @@ function paged_tree_init(p) {
        sdump('D_PAGED_TREE',"TESTING: paged_tree.js: " + mw.G['main_test_variable'] + '\n');
        sdump('D_TRACE_ENTER',arg_dump(arguments));
 
-       p.w.display_count = 5;
+       p.w.display_count = 10;
        p.w.current_idx = 0;
 
        p.w.results_label = get_widget( p.w.document, p.nav_results );
index 5aa4a41..f529d87 100644 (file)
@@ -3,35 +3,35 @@ sdump('D_TRACE',"Loading error.js\n");
 var consoleService = Components.classes['@mozilla.org/consoleservice;1']
        .getService(Components.interfaces.nsIConsoleService);
 
-var consoleDump = true;
+var consoleDump = false;
 var arg_dump_full = false;
 
 var sdump_levels = {
        'D_ERROR' : true,
        'D_TRACE' :  true,
        'D_TRACE_ENTER' :  false,
-       'D_TRACE_EXIT' :  true,
+       'D_TRACE_EXIT' :  false,
 
        'D_CLAM' : false,
-       'D_PAGED_TREE' : true,
+       'D_PAGED_TREE' : false,
        'D_TAB' : false,
 
        'D_AUTH' : false,
 
-       'D_OPAC' : true,
+       'D_OPAC' : false,
 
-       'D_PATRON_SEARCH' : true,
-       'D_PATRON_SEARCH_FORM' : true,
-       'D_PATRON_SEARCH_RESULTS' : true,
+       'D_PATRON_SEARCH' : false,
+       'D_PATRON_SEARCH_FORM' : false,
+       'D_PATRON_SEARCH_RESULTS' : false,
 
        'D_EXPLODE' : false,
        'D_PRINT' : false,
        'D_SES' : true,
-       'D_SPAWN' : true,
+       'D_SPAWN' : false,
        'D_STRING' : false,
        'D_UTIL' : false,
        'D_WIN' : false,
-       'D_WIDGETS' : true
+       'D_WIDGETS' : false
 
 };