X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fprogress-popup.html;h=2d273880c642f60547c4310ef4e9523b98c1eb80;hp=42e464115ffa0f0c5d736e6096ef6d4c770255be;hb=c3da5cf1caa244937d280e0f406927103beef148;hpb=82879083dd2efddf02192ad48ad0e46e1a16662b diff --git a/httemplate/elements/progress-popup.html b/httemplate/elements/progress-popup.html index 42e464115..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.parentWindow.location.replace('<% $popup_url %>'); + document.location.replace('<% $popup_url %>'); % } else { + alert('job done but no url or message specified'); % } } else if ( status.indexOf('done') > -1 ) {