a suggestion from tsbere, this raises the existing login window if the staff client...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 24 Aug 2010 18:05:16 +0000 (18:05 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 24 Aug 2010 18:05:16 +0000 (18:05 +0000)
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
Open-ILS/xul/staff_client/defaults/preferences/prefs.js

index 2e54281..60df710 100644 (file)
@@ -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">
 
 
index a89baa6..6d51b41 100644 (file)
@@ -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);