[open-ils-commits] r12940 - trunk/Open-ILS/xul/staff_client/chrome/content/util (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 21 12:01:08 EDT 2009
Author: erickson
Date: 2009-04-21 12:01:03 -0400 (Tue, 21 Apr 2009)
New Revision: 12940
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js
Log:
pass in the build ID and urls map to embedded browsers
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js 2009-04-21 15:54:28 UTC (rev 12939)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js 2009-04-21 16:01:03 UTC (rev 12940)
@@ -118,10 +118,12 @@
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var cw = this.get_content();
cw.IAMXUL = true;
+ cw.XUL_BUILD_ID = '/xul/server/'.split(/\//)[2];
cw.xulG = obj.passthru_content_params || {};
cw.xulG.set_tab = window.xulG.set_tab;
cw.xulG.new_tab = window.xulG.new_tab;
cw.xulG.url_prefix = window.xulG.url_prefix;
+ cw.xulG.urls = window.urls;
try { s += ('******** cw = ' + cw + ' cw.xulG = ' + (cw.xulG) + '\n'); } catch(E) { s+=E + '\n'; }
obj.error.sdump('D_BROWSER',s);
} catch(E) {
More information about the open-ils-commits
mailing list