updating the path of the gateway to match the configured name in the example apache...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 25 Oct 2007 15:16:15 +0000 (15:16 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 25 Oct 2007 15:16:15 +0000 (15:16 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7927 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/RemoteRequest.js

index 21eba4d..09a1422 100644 (file)
@@ -1,4 +1,4 @@
-var XML_HTTP_GATEWAY = "gateway";
+var XML_HTTP_GATEWAY = "osrf-gateway-v1";
 var XML_HTTP_SERVER = "";
 
 
@@ -19,6 +19,13 @@ NetworkFailure.prototype.toString = function() {
 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]);