Changeset 4926


Ignore:
Timestamp:
04/09/14 07:54:15 (10 years ago)
Author:
olof.olsson@snd.gu.se
Message:

updated login path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/annotations.wired.marker.js

    r4890 r4926  
    77         */
    88        getLoggedInInfo: function(callback) { 
    9             var authURL = annotationFramework.getBackend() + "/api/authentication/user";
     9            var authURL = annotationFramework.getBackend() + "/api/authentication/login";
    1010            $.ajax({
    1111                type: 'GET',
    1212                url: authURL,
    1313                dataType: "xml",
    14                 timeout: 1000, // In order to be able to catch server inaccessibility, e.g. due to security restrictions.
     14                timeout: 4000, // In order to be able to catch server inaccessibility, e.g. due to security restrictions.
    1515                success: function(xml ,textStatus, jqXHR) {
    1616                   $xml = $.parseXML(jqXHR.responseText);
     
    117117                annotationFramework.putFullAnnotation(aid, xmlString);
    118118            });
    119         },       
     119        },
     120        getCacheURL: function(om_object){
     121           
     122        },
    120123        getAidFromOid: function(oid) {
    121124            var aSql = 'SELECT dasish_aid FROM om_object WHERE oid="' + oid + '"';
Note: See TracChangeset for help on using the changeset viewer.