[open-ils-commits] r7927 - trunk/Open-ILS/web/opac/common/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Oct 25 11:30:10 EDT 2007
Author: erickson
Date: 2007-10-25 11:16:15 -0400 (Thu, 25 Oct 2007)
New Revision: 7927
Modified:
trunk/Open-ILS/web/opac/common/js/RemoteRequest.js
Log:
updating the path of the gateway to match the configured name in the example apache configs for the new-json gateway
Modified: trunk/Open-ILS/web/opac/common/js/RemoteRequest.js
===================================================================
--- trunk/Open-ILS/web/opac/common/js/RemoteRequest.js 2007-10-24 14:41:39 UTC (rev 7926)
+++ trunk/Open-ILS/web/opac/common/js/RemoteRequest.js 2007-10-25 15:16:15 UTC (rev 7927)
@@ -1,4 +1,4 @@
-var XML_HTTP_GATEWAY = "gateway";
+var XML_HTTP_GATEWAY = "osrf-gateway-v1";
var XML_HTTP_SERVER = "";
@@ -19,6 +19,13 @@
function isXUL() { try { if(IAMXUL) return true;}catch(e){return false;}; }
var _allrequests = {};
+// If the legacy JSON gateway is needed by the staff client, uncomment this
+/*
+if(isXUL()) {
+ XML_HTTP_GATEWAY = 'gateway';
+}
+*/
+
function cleanRemoteRequests() {
for( var i in _allrequests )
destroyRequest(_allrequests[i]);
More information about the open-ils-commits
mailing list