if (ev.explicitOriginalTarget != node) return;
} else {
target = ev.target;
+ if (target == window) {
+ target = window.document.documentElement;
+ }
}
var filename = location.pathname.split('/')[ location.pathname.split('/').length - 1 ];
var base_key = 'oils_persist_' + String(location.hostname + '_' + filename + '_' + target.getAttribute('id')).replace('/','_','g') + '_' + base_key_suffix;
} else if ( attribute_list[j] == 'value' && ['textbox'].indexOf( target.nodeName ) > -1 ) {
value = target.value;
dump('\t' + value + ' <== .' + attribute_list[j] + '\n');
+ } else if ( attribute_list[j] == 'sizemode' && ['window'].indexOf( target.nodeName ) > -1 ) {
+ value = window.windowState;
+ dump('\t' + value + ' <== window.windowState, @' + attribute_list[j] + '\n');
+ } else if ( attribute_list[j] == 'height' && ['window'].indexOf( target.nodeName ) > -1 ) {
+ value = window.outerHeight;
+ dump('\t' + value + ' <== window.outerHeight, @' + attribute_list[j] + '\n');
+ } else if ( attribute_list[j] == 'width' && ['window'].indexOf( target.nodeName ) > -1 ) {
+ value = window.outerWidth;
+ dump('\t' + value + ' <== window.outerWidth, @' + attribute_list[j] + '\n');
} else {
dump('\t' + value + ' <== @' + attribute_list[j] + '\n');
}
prefs.setCharPref( key, value );
- // TODO: Need to add logic for window resizing, splitter repositioning, grippy state, etc.
+ // TODO: Need to add logic for splitter repositioning, grippy state, etc.
// NOTE: oils_persist_peers and oils_persist="width" on those peers can help with the elements adjacent to a splitter
}
if (target.hasAttribute('oils_persist_peers') && ! ev.cancelable) { // We abuse the .cancelable field on the oils_persist event to prevent looping
} else if ( attribute_list[j] == 'value' && ['textbox'].indexOf( nodes[i].nodeName ) > -1 ) {
nodes[i].value = value;
dump('\t' + value + ' ==> .' + attribute_list[j] + '\n');
+ } else if ( attribute_list[j] == 'sizemode' && ['window'].indexOf( nodes[i].nodeName ) > -1 ) {
+ switch(value) {
+ case window.STATE_MAXIMIZED:
+ window.maximize();
+ break;
+ case window.STATE_MINIMIZED:
+ window.minimize();
+ break;
+ };
+ dump('\t' + value + ' ==> window.windowState, @' + attribute_list[j] + '\n');
+ } else if ( attribute_list[j] == 'height' && ['window'].indexOf( nodes[i].nodeName ) > -1 ) {
+ window.outerHeight = value;
+ dump('\t' + value + ' ==> window.outerHeight, @' + attribute_list[j] + '\n');
+ } else if ( attribute_list[j] == 'width' && ['window'].indexOf( nodes[i].nodeName ) > -1 ) {
+ window.outerWidth = value;
+ dump('\t' + value + ' ==> window.outerWidth, @' + attribute_list[j] + '\n');
} else {
nodes[i].setAttribute( attribute_list[j], value);
dump('\t' + value + ' ==> @' + attribute_list[j] + '\n');
false
);
} else {
+ var node = nodes[i];
var event_types = [];
- if (nodes[i].hasAttribute('oils_persist_events')) {
- var event_type_list = nodes[i].getAttribute('oils_persist_events').split(' ');
+ if (node.hasAttribute('oils_persist_events')) {
+ var event_type_list = node.getAttribute('oils_persist_events').split(' ');
for (var j = 0; j < event_type_list.length; j++) {
event_types.push( event_type_list[j] );
}
} else {
- if (nodes[i].nodeName == 'textbox') {
+ if (node.nodeName == 'textbox') {
event_types.push('change');
+ } else if (node.nodeName == 'window') {
+ event_types.push('resize');
+ node = window; // xul window is an element of window.document
} else {
event_types.push('command');
}
}
for (var j = 0; j < event_types.length; j++) {
- nodes[i].addEventListener(
+ node.addEventListener(
event_types[j],
- gen_event_handler(event_types[j],nodes[i]),
+ gen_event_handler(event_types[j],node),
false
);
}
- nodes[i].addEventListener(
+ node.addEventListener(
'oils_persist',
- gen_oils_persist_handler( base_key, nodes[i] ),
+ gen_oils_persist_handler( base_key, node ),
false
);
}
<window id="main_win"
onload="try { main_init(); } catch(E) { alert(E); }"
onunload="try { G.auth.logoff(); } catch(E) { alert(E); }"
- title="&staff.auth.title;"
+ title="&staff.auth.title;" persist="width height sizemode"
width="640" height="480" windowtype="eg_main"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="main_test_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="example_template_win"
- onload="try { my_init(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="main_test_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="font_settings_win"
- onload="try { my_init(); } catch(E) { alert(E); }" style="background: white;"
+ onload="try { my_init(); persist_helper(); } catch(E) { alert(E); }" style="background: white;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="admin_offline_manage_xacts_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="admin_transit_list_win" active="true"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/cat/bib_brief_overlay.xul"?>
<window id="cat_bib_brief_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="cat_copy_browser" active="true"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="copy_notes_win" width="700" height="550"
+ oils_persist="height width sizemode"
title="&staff.cat.copy_editor.copy_notes.label;"
- onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="example_template_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="cat_marc_view_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="example_template_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="cat_volume_copy_creator_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
- width="800" height="580"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+ width="800" height="580" oils_persist="height width sizemode"
title="&staff.cat.volume_copy_creator.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="circ_circ_brief_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="circ_circ_brief_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
- width="750" height="550"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+ width="750" height="550" oils_persist="height width sizemode"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="main_test_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="pre_cat_fields" title="&staff.circ.pre_cat.window.title;"
- orient="vertical" style="overflow: auto"
- onload="try{my_init();font_helper(); }catch(E){alert(E);}"
+ orient="vertical" style="overflow: auto" oils_persist="height width sizemode"
+ onload="try{ my_init(); font_helper(); persist_helper(); }catch(E){alert(E);}"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="print_list_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- OVERLAYS -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
-<window id="simple_auth_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="simple_auth_win" oils_persist="height width sizemode"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- OVERLAYS -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
-<window id="verify_win" onload="try { verify_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="verify_win" onload="try { verify_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="patron_barcode_entry_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="patron_bill" title="&staff.patron.bill_cc_info.title;"
- orient="vertical" style="overflow: auto"
- onload="try{info_init(); font_helper();refresh_fields();}catch(E){alert(E);}"
+ orient="vertical" style="overflow: auto" oils_persist="height width sizemode"
+ onload="try{info_init(); font_helper(); refresh_fields(); persist_helper(); }catch(E){alert(E);}"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="patron_bill" title="&staff.patron.bill_check_info.title;"
- orient="vertical" style="overflow: auto"
- onload="try{info_init(); font_helper();}catch(E){alert(E);}"
+ orient="vertical" style="overflow: auto" oils_persist="height width sizemode"
+ onload="try{info_init(); font_helper(); persist_helper(); }catch(E){alert(E);}"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>
-<window id="bill_details_win" width="700" height="550"
- onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="bill_details_win" width="700" height="550" oils_persist="width height sizemode"
+ onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/patron/bill_summary_overlay.xul"?>
<window id="patron_bill" title="&staff.patron.bill_wizard.title;"
- orient="vertical" style="overflow: auto"
- onload="try { patron_bill_init(); font_helper(); } catch(E) { alert(E); }" width="700" height="550"
+ orient="vertical" style="overflow: auto" oils_persist="width height sizemode"
+ onload="try { patron_bill_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }" width="700" height="550"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="edit_penalty_win"
- onload="try { edit_penalty_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { edit_penalty_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+ oils_persist="height width sizemode"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&staff.patron_display.edit_penalty_dialog.title;">
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="hold_cancel_win"
- onload="try { hold_cancel_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { hold_cancel_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&staff.hold_list.cancel_hold_dialog.title;">
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="patron_info_group_win" width="700" height="550" active="true"
- onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="patron_info_win" width="700" height="550"
- onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="patron_info_stat_cats_win" width="700" height="550"
- onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="patron_info_surveys_win" width="700" height="550"
- onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/patron/items_overlay.xul"?>
<window id="items_win" active="true"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="new_penalty_win"
- onload="try { new_penalty_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { new_penalty_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
+ oils_persist="height width sizemode"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&staff.patron_display.apply_penalty_dialog.title;">
<?xul-overlay href="/xul/server/patron/search_form_overlay.xul"?>
<window id="patron_search_form_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/patron/search_form_horiz_overlay.xul"?>
<window id="patron_search_form_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/patron/search_result_overlay.xul"?>
<window id="patron_search_result_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="patron_summary_win"
- onload="try { font_helper(); my_init(); } catch(E) { alert(E); }" onunload="try { observer.unregister(); } catch(E) { alert(E); }"
+ onload="try { font_helper(); my_init(); persist_helper(); } catch(E) { alert(E); }" onunload="try { observer.unregister(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
<window id="example_template_win"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- OVERLAYS -->
<?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
-<window id="notes_win" width="700" height="550"
- onload="try{ my_init(); font_helper(); } catch(E) { alert(E); }"
+<window id="notes_win" width="700" height="550" oils_persist="height width sizemode"
+ onload="try{ my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<?xul-overlay href="/xul/server/serial/manage_subs.xul"?>
<window id="serial_serctrl_main"
- onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
+ onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->