diff options
author | mark <mark> | 2011-07-30 23:20:37 +0000 |
---|---|---|
committer | mark <mark> | 2011-07-30 23:20:37 +0000 |
commit | 873ec8e0528b7a944aec88936538fe9a04cd0b3f (patch) | |
tree | a23fc0f4fa9bd45cc4d0ea8c18edca5ae4e66302 /httemplate/elements | |
parent | b1c1559dec0570bc401ccd0e29e66a9bf6f151e1 (diff) |
rearrange flow of batch download, #947
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/progress-popup.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/progress-popup.html b/httemplate/elements/progress-popup.html index 73440bbc3..2d273880c 100644 --- a/httemplate/elements/progress-popup.html +++ b/httemplate/elements/progress-popup.html @@ -63,12 +63,13 @@ function updateStatus( status_statustext ) { % } % } elsif ( $url ) { - + parent.nd(1); window.top.location.href = '<% $url %>'; % } elsif ( $popup_url ) { document.location.replace('<% $popup_url %>'); % } else { + alert('job done but no url or message specified'); % } } else if ( status.indexOf('done') > -1 ) { |