[open-ils-commits] r17328 - in trunk/Open-ILS/xul/staff_client: chrome/content/main defaults/preferences (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Aug 24 14:05:20 EDT 2010


Author: phasefx
Date: 2010-08-24 14:05:16 -0400 (Tue, 24 Aug 2010)
New Revision: 17328

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/main/main.xul
   trunk/Open-ILS/xul/staff_client/defaults/preferences/prefs.js
Log:
a suggestion from tsbere, this raises the existing login window if the staff client is invoked when it is already running

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/main.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/main.xul	2010-08-24 15:56:40 UTC (rev 17327)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/main.xul	2010-08-24 18:05:16 UTC (rev 17328)
@@ -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">
 
 

Modified: trunk/Open-ILS/xul/staff_client/defaults/preferences/prefs.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/defaults/preferences/prefs.js	2010-08-24 15:56:40 UTC (rev 17327)
+++ trunk/Open-ILS/xul/staff_client/defaults/preferences/prefs.js	2010-08-24 18:05:16 UTC (rev 17328)
@@ -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);



More information about the open-ils-commits mailing list