From 115b02ec3698f527aa7c614ea155ff30083521ca Mon Sep 17 00:00:00 2001 From: pines Date: Sun, 3 Sep 2006 01:11:57 +0000 Subject: [PATCH] let the passthru xulG have some basic menu frame functions git-svn-id: svn://svn.open-ils.org/ILS/trunk@5874 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/browser.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 9644b3e701..4df7cb54da 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/browser.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/browser.js @@ -118,7 +118,10 @@ util.browser.prototype = { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var cw = this.get_content(); cw.IAMXUL = true; - cw.xulG = obj.passthru_content_params; + 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; try { s += ('******** cw = ' + cw + ' cw.xulG = ' + js2JSON(cw.xulG) + '\n'); } catch(E) { s+=E + '\n'; } obj.error.sdump('D_BROWSER',s); } catch(E) { -- 2.43.2