From 0a75c1141d48f6d31a8d8b0ce85b71fec6edad96 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 24 Aug 2010 18:05:16 +0000 Subject: [PATCH] a suggestion from tsbere, this raises the existing login window if the staff client is invoked when it is already running git-svn-id: svn://svn.open-ils.org/ILS/trunk@17328 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/main/main.xul | 2 +- Open-ILS/xul/staff_client/defaults/preferences/prefs.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/main.xul b/Open-ILS/xul/staff_client/chrome/content/main/main.xul index 2e5428154a..60df71023f 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.xul @@ -22,7 +22,7 @@ onload="try { main_init(); } catch(E) { alert(E); }" onunload="try { G.auth.logoff(); } catch(E) { alert(E); }" title="&staff.auth.title;" - width="640" height="480" + width="640" height="480" windowtype="eg_main" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> diff --git a/Open-ILS/xul/staff_client/defaults/preferences/prefs.js b/Open-ILS/xul/staff_client/defaults/preferences/prefs.js index a89baa67c8..6d51b41bd2 100644 --- a/Open-ILS/xul/staff_client/defaults/preferences/prefs.js +++ b/Open-ILS/xul/staff_client/defaults/preferences/prefs.js @@ -5,6 +5,7 @@ // These are specific to Evergreen pref("open-ils.write_in_user_chrome_directory", true); pref("open-ils.disable_accesskeys_on_tabs", false); +pref("toolkit.singletonWindowType", "eg_main"); // Toggles for experimental features that may later become org unit settings pref("open-ils.enable_join_tabs", true); -- 2.43.2