From 8c1f4332c99d3c19bf53b7900b2ac87fcbac1198 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 21 Apr 2009 16:01:03 +0000 Subject: [PATCH] pass in the build ID and urls map to embedded browsers git-svn-id: svn://svn.open-ils.org/ILS/trunk@12940 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/browser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/browser.js b/Open-ILS/xul/staff_client/chrome/content/util/browser.js index bf939d1d93..87b937d1a8 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/browser.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/browser.js @@ -118,10 +118,12 @@ util.browser.prototype = { 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) { -- 2.11.0