Changeset 7169
- Timestamp:
- Jun 9, 2016, 10:36:00 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/filemanager/upload/upload.js
r6389 r7169 254 254 if (confirm('Are you sure you want to abort the upload? It cannot be resumed.')) 255 255 { 256 /* 257 Aborting from server-side is not working 258 See ticket: http://base.thep.lu.se/ticket/2018 259 Sending "Abort" command to the server and then 260 forcefully closing the window and hoping for the 261 best. 262 */ 256 263 var request = Ajax.getXmlHttpRequest(); 257 264 var url = 'ajax.jsp?ID='+App.getSessionId(); … … 259 266 request.open("GET", url, true); 260 267 request.send(null); 268 269 var url = '../../common/close_popup.jsp?refresh_opener=1&message=Upload+aborted'; 270 window.top.location = url; 261 271 } 262 272 }
Note: See TracChangeset
for help on using the changeset viewer.