[open-ils-commits] r13179 - trunk/Open-ILS/web/js/dojo/openils (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri May 15 14:51:13 EDT 2009
Author: erickson
Date: 2009-05-15 14:51:10 -0400 (Fri, 15 May 2009)
New Revision: 13179
Modified:
trunk/Open-ILS/web/js/dojo/openils/XUL.js
Log:
read xul cookie as well
Modified: trunk/Open-ILS/web/js/dojo/openils/XUL.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/XUL.js 2009-05-15 18:50:23 UTC (rev 13178)
+++ trunk/Open-ILS/web/js/dojo/openils/XUL.js 2009-05-15 18:51:10 UTC (rev 13179)
@@ -1,10 +1,11 @@
if(!dojo._hasResource["openils.XUL"]) {
dojo.provide("openils.XUL");
+ dojo.require('dojo.cookie');
dojo.declare('openils.XUL', null, {});
openils.XUL.isXUL = function() {
- return Boolean(window.IAMXUL);
+ return Boolean(dojo.cookie('xul')) || Boolean(window.IAMXUL);
}
openils.XUL.buildId = function() {
More information about the open-ils-commits
mailing list