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 ) {
<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" />
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 );
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
};