- Timestamp:
- 2012-02-10T15:33:38+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/oran/js/documentbasket/documentbasket.js
r24511 r25070 76 76 } 77 77 78 function clearBasket() 79 { 80 var delurlPath ="?a=pr&rt=r&ro=1&s=ClearDocuments&c=&o=XML&hhf=[{\"name\":\"Cache-Control\", \"value\":\"no-cache\"}]&s1.c=" + gs.cgiParams.c; 81 var callback = 82 { 83 success:function(){console.log("Successfully removed document");}, 84 failed:function(){console.log("Failed to remove document " + docList[i].id + " from the document basket");} 85 } 86 YAHOO.util.Connect.asyncRequest("GET", delurlPath, callback); 87 docList = new Array(); 88 updateDocumentImages(); 89 } 90 78 91 function updateDocumentImages(){ 79 92
Note:
See TracChangeset
for help on using the changeset viewer.