summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authormark <mark>2011-07-30 23:14:23 +0000
committermark <mark>2011-07-30 23:14:23 +0000
commit197e19d52c02f541850ca06f2628d86c2c3b9464 (patch)
treee2a502a9a360a861abfa9bb63045bf7d8221d1db /httemplate/elements
parent1b0cab3641a1cc3d497cbe4502dc3b33b13af74d (diff)
rearrange flow of batch download, #947
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/progress-popup.html3
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 ) {