[open-ils-commits] r11969 - branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jan 26 00:54:25 EST 2009
Author: phasefx
Date: 2009-01-26 00:54:23 -0500 (Mon, 26 Jan 2009)
New Revision: 11969
Modified:
branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main/menu.js
Log:
these lingering chrome interfaces can't be loaded in remote iframes, so into windows they go
Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main/menu.js
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main/menu.js 2009-01-26 05:38:44 UTC (rev 11968)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/main/menu.js 2009-01-26 05:54:23 UTC (rev 11969)
@@ -360,7 +360,7 @@
'cmd_standalone' : [
['oncommand'],
function() {
- obj.set_tab(obj.url_prefix(urls.XUL_STANDALONE),{},{});
+ xulG.window.open(obj.url_prefix(urls.XUL_STANDALONE),'Offline/Standalone Mode','chrome,resizable');
}
],
@@ -623,7 +623,7 @@
'cmd_console' : [
['oncommand'],
function() {
- obj.set_tab(obj.url_prefix(urls.XUL_DEBUG_CONSOLE),{'tab_name' : offlineStrings.getString('menu.cmd_console.tab')},{});
+ xulG.window.open(obj.url_prefix(urls.XUL_DEBUG_CONSOLE),offlineStrings.getString('menu.cmd_console.tab'),'chrome,resizable');
}
],
'cmd_shell' : [
@@ -648,7 +648,7 @@
['oncommand'],
function() {
obj.data.stash_retrieve();
- obj.window.open(obj.url_prefix(urls.XUL_SURVEY_WIZARD),'survey_wizard','chrome');
+ xulG.window.open(obj.url_prefix(urls.XUL_SURVEY_WIZARD),'survey_wizard','chrome,resizable');
}
],
'cmd_public_opac' : [
@@ -690,19 +690,19 @@
'cmd_extension_manager' : [
['oncommand'],
function() {
- obj.set_tab('chrome://mozapps/content/extensions/extensions.xul?type=extensions',{'tab_name' : offlineStrings.getString('menu.cmd_extension_manager.tab')},{});
+ xulG.window.open('chrome://mozapps/content/extensions/extensions.xul?type=extensions',offlineStrings.getString('menu.cmd_extension_manager.tab'),'chrome,resizable');
}
],
'cmd_theme_manager' : [
['oncommand'],
function() {
- obj.set_tab('chrome://mozapps/content/extensions/extensions.xul?type=themes',{'tab_name' : offlineStrings.getString('menu.cmd_theme_manager.tab')},{});
+ xulG.window.open('chrome://mozapps/content/extensions/extensions.xul?type=themes',offlineStrings.getString('menu.cmd_theme_manager.tab'),'chrome,resizable');
}
],
'cmd_about_config' : [
['oncommand'],
function() {
- obj.set_tab('chrome://global/content/config.xul',{'tab_name' : 'about:config'},{});
+ xulG.window.open('chrome://global/content/config.xul','about:config','chrome,resizable');
}
],
'cmd_shutdown' : [
More information about the open-ils-commits
mailing list