From: erickson Date: Fri, 11 Aug 2006 15:19:40 +0000 (+0000) Subject: possible fix to local chrome server error created by secure mangling X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=41473bec67c6c25dc28b765de0aa86e94eeaa487;p=Evergreen.git 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 --- 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'); }