From 2ad0f923f363593824aa61c005405f4bab8b7d76 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 15 May 2009 18:50:23 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@13178 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/main/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/main.js b/Open-ILS/xul/staff_client/chrome/content/main/main.js index b59198a8d3..cb992f4bba 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.js @@ -140,6 +140,8 @@ function main_init() { 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])); -- 2.11.0