From: pines Date: Sun, 3 Sep 2006 01:11:57 +0000 (+0000) Subject: let the passthru xulG have some basic menu frame functions X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=115b02ec3698f527aa7c614ea155ff30083521ca;p=Evergreen.git 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 --- 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) {