diff --git a/module/testcase/view/exporttemplet.html.php b/module/testcase/view/exporttemplet.html.php index cd6a6d3da4..b9b12109a1 100644 --- a/module/testcase/view/exporttemplet.html.php +++ b/module/testcase/view/exporttemplet.html.php @@ -11,13 +11,12 @@ function setDownloading() function closeWindow() { - if($.cookie('downloading') == 1 || i >= 30) + if($.cookie('downloading') == 1) { parent.$.fn.colorbox.close(); $.cookie('downloading', null); clearInterval(time); } - i ++; }