From 197e19d52c02f541850ca06f2628d86c2c3b9464 Mon Sep 17 00:00:00 2001 From: mark Date: Sat, 30 Jul 2011 23:14:23 +0000 Subject: rearrange flow of batch download, #947 --- httemplate/elements/progress-popup.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'httemplate/elements') 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 ) { -- cgit v1.2.1