X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fprogress-popup.html;h=2d273880c642f60547c4310ef4e9523b98c1eb80;hb=5157ebd894ad02c85bac66ed89313d0c0dea7aeb;hp=42e464115ffa0f0c5d736e6096ef6d4c770255be;hpb=82879083dd2efddf02192ad48ad0e46e1a16662b;p=freeside.git 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 ) {