From 3079ce5fa56362cdfed69d83b50a5d6518d7f773 Mon Sep 17 00:00:00 2001 From: wyd621 Date: Tue, 20 Aug 2013 08:27:10 +0800 Subject: [PATCH] * fix js error. --- module/testcase/view/exporttemplet.html.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ++; }