diff options
| author | mark <mark> | 2011-07-30 23:13:40 +0000 |
|---|---|---|
| committer | mark <mark> | 2011-07-30 23:13:40 +0000 |
| commit | 007fd3026ade508a9d88b436575a4797d003280a (patch) | |
| tree | c82742a1cfb9c425041958dc805b45a76a81a290 /httemplate/elements | |
| parent | 8043c7dc35455c0c2a7afce70e9f79448952d170 (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 ) { |
