Changeset 23360
- Timestamp:
- Jun 19, 2013, 12:53:31 PM (11 years ago)
- Location:
- extensions/BatchDownloader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/BatchDownloader.class.php
r23321 r23360 272 272 } 273 273 274 $root_url = get_root_url();275 274 $uid = '&b='.time(); 276 275 … … 341 340 if ($filemtime===false || $filemtime<$last_mod_time || $filemtime<$src_mtime) 342 341 { 343 $urls[] = $ root_url.$derivative->get_url().$uid;342 $urls[] = $derivative->get_url().$uid; 344 343 } 345 344 else if ($update && in_array($row['id'], $to_update)) -
extensions/BatchDownloader/template/init_zip.tpl
r23359 r23360 44 44 } 45 45 46 jQuery.manageAjax.add("queued",{46 queuedManager.add({ 47 47 type: 'GET', 48 url: '{$ROOT_URL}'+derivatives.elements[ derivatives.done ]+'&ajaxload=true',48 url: derivatives.elements[ derivatives.done ], 49 49 dataType: 'json', 50 success: function(data) { 50 data: { ajaxload: 'true' }, 51 success: function() { 51 52 derivatives.done++; 52 53 progress(); 53 54 next_derivative(); 54 55 }, 55 error: function( data) {56 error: function() { 56 57 derivatives.done++; 57 58 progress();
Note: See TracChangeset
for help on using the changeset viewer.