[open-ils-commits] r13178 - trunk/Open-ILS/xul/staff_client/chrome/content/main (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri May 15 14:50:26 EDT 2009
Author: erickson
Date: 2009-05-15 14:50:23 -0400 (Fri, 15 May 2009)
New Revision: 13178
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js
Log:
though the staff client graciously passes IAMXUL into the environment, it's not available in the web env until some point after page load. pass a new 'xul' cookie as well, which is immediately available to the browser
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js 2009-05-15 18:47:06 UTC (rev 13177)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js 2009-05-15 18:50:23 UTC (rev 13178)
@@ -140,6 +140,8 @@
cookieSvc.setCookieString(cookieUri, null, "ses="+G.data.session.key, null);
cookieSvc.setCookieString(cookieUriSSL, null, "ses="+G.data.session.key, null);
+ cookieSvc.setCookieString(cookieUri, null, "xul=1", null);
+ cookieSvc.setCookieString(cookieUriSSL, null, "xul=1", null);
} catch(E) {
alert(offlineStrings.getFormattedString(main.session_cookie.error, [E]));
More information about the open-ils-commits
mailing list