Changeset 311 for trunk/src/ajax


Ignore:
Timestamp:
08/26/10 21:37:14 (15 years ago)
Author:
lgiessmann
Message:

fixed a problem with the host prefix in the javascript constants file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/ajax/javascripts/constants.js

    r279 r311  
    1212
    1313// --- Some constants fot the http connections via the XMLHttpRequest-Object
    14 var HOST_PREF = /*"http://localhost:8000/";*/ "192.168.178.23:8000/"; // of the form "http://(.+)/"
     14var HOST_PREF = "http://localhost:8000/"; /*"192.168.178.23:8000/"; // of the form "http://(.+)/"*/
    1515var GET_PREFIX = HOST_PREF + "json/get/";
    1616var GET_STUB_PREFIX = HOST_PREF + "json/topicstubs/";
     
    2222var INSTANCE_PSIS_URL = HOST_PREF + "json/tmcl/instances/";
    2323var OWN_URL = HOST_PREF + "isidorus";
    24 var SUMMARY_URL = HOST_PREF + "json/summary"
     24var SUMMARY_URL = HOST_PREF + "json/summary";
    2525    var MARK_AS_DELETED_URL = HOST_PREF + "mark-as-deleted";
    26 var TM_OVERVIEW = "/json/tmcl/overview/";
     26var TM_OVERVIEW = HOST_PREF + "json/tmcl/overview/";
    2727var TIMEOUT = 10000; // const TIMEOUT = 10000 --> "const" doesn't work under IE
    2828
Note: See TracChangeset for help on using the changeset viewer.