dev port
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 11 May 2005 17:48:51 +0000 (17:48 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 11 May 2005 17:48:51 +0000 (17:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@710 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/javascript/util/RemoteRequest.js

index ba1377d..fa89366 100644 (file)
@@ -185,12 +185,11 @@ RemoteRequest.prototype.send = function(blocking) {
        /* determine the xmlhttp server dynamically */
        var url = location.protocol + "//" + location.host + "/" + XML_HTTP_GATEWAY;
 
-       var XUL = true;  /*will be global, needs to be set by the parent XUL app when around */
-       if(XUL) {
+       if(isXUL()) {
                if(this.secure)
                        url =   "https://" + XML_HTTP_SERVER + "/" + XML_HTTP_GATEWAY;
                else
-                       url =   "http://" + XML_HTTP_SERVER + "/" + XML_HTTP_GATEWAY;
+                       url =   "http://" + XML_HTTP_SERVER + ":8080/" + XML_HTTP_GATEWAY;
        }
 
        var data = null;