rearrange flow of batch download, #947
[freeside.git] / httemplate / elements / progress-popup.html
index 73440bb..2d27388 100644 (file)
@@ -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 ) {