Changeset 738


Ignore:
Timestamp:
Jan 9, 2014, 1:33:33 AM (11 years ago)
Author:
maron
Message:
  • Added: update page when progress is on 100%
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/Progress.php

    r733 r738  
    1111    $DbResult = $System->Database->query('SELECT Progress FROM `ExportTask` WHERE `Export`='.$_GET['ExportId']);
    1212    $Task = $DbResult->fetch_assoc();
     13   
     14    if ( $Task['Progress'] > 99 )   echo '<script type="text/javascript" language="JavaScript" charset="utf-8">'.
     15   'setTimeout("parent.location.href=\''.$System->Link('/export/?Action=View&Tab=7&ExportId='.$_GET['ExportId']).'\'", 500)'.
     16   '</script>';
     17
    1318
    1419    echo ''.ProgressBar(300, $Task['Progress']).'';
  • trunk/includes/Version.php

    r737 r738  
    66// and system will need database update.
    77
    8 $Revision = 737; // Subversion revision
     8$Revision = 738; // Subversion revision
    99$DatabaseRevision = 732; // Database structure revision
    1010$ReleaseTime = '2014-01-08';
Note: See TracChangeset for help on using the changeset viewer.