From 41473bec67c6c25dc28b765de0aa86e94eeaa487 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 11 Aug 2006 15:19:40 +0000 Subject: [PATCH] possible fix to local chrome server error created by secure mangling git-svn-id: svn://svn.open-ils.org/ILS/trunk@5460 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/common/js/RemoteRequest.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/web/opac/common/js/RemoteRequest.js b/Open-ILS/web/opac/common/js/RemoteRequest.js index e289081e58..df9f55302d 100644 --- a/Open-ILS/web/opac/common/js/RemoteRequest.js +++ b/Open-ILS/web/opac/common/js/RemoteRequest.js @@ -223,6 +223,8 @@ RemoteRequest.prototype.send = function(blocking) { if(isXUL()) { netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); + if( XML_HTTP_SERVER ) + url = 'http://'+XML_HTTP_SERVER+'/'+XML_HTTP_GATEWAY; if( this.secure ) url = url.replace(/http/, 'https'); else url = url.replace(/https/, 'http'); } -- 2.11.0