Changeset 4926
- Timestamp:
- 04/09/14 07:54:15 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/annotations.wired.marker.js
r4890 r4926 7 7 */ 8 8 getLoggedInInfo: function(callback) { 9 var authURL = annotationFramework.getBackend() + "/api/authentication/ user";9 var authURL = annotationFramework.getBackend() + "/api/authentication/login"; 10 10 $.ajax({ 11 11 type: 'GET', 12 12 url: authURL, 13 13 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. 15 15 success: function(xml ,textStatus, jqXHR) { 16 16 $xml = $.parseXML(jqXHR.responseText); … … 117 117 annotationFramework.putFullAnnotation(aid, xmlString); 118 118 }); 119 }, 119 }, 120 getCacheURL: function(om_object){ 121 122 }, 120 123 getAidFromOid: function(oid) { 121 124 var aSql = 'SELECT dasish_aid FROM om_object WHERE oid="' + oid + '"';
Note: See TracChangeset
for help on using the changeset viewer.