From 667862223c8a816d9810e91f0d9d78c6f4b60bff Mon Sep 17 00:00:00 2001 From: IYism Date: Fri, 25 Sep 2015 16:33:11 +0800 Subject: [PATCH] bugfix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复chrome浏览器有时候不能阻断的bug --- templates/jlog/log_online.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/jlog/log_online.html b/templates/jlog/log_online.html index 7e2858e57..1af12a9aa 100644 --- a/templates/jlog/log_online.html +++ b/templates/jlog/log_online.html @@ -223,10 +223,12 @@ $.ajax({ type: "GET", url: g_url, - success: window.open("/jlog/log_list/online/", "_self") + success: function(){ + document.location.reload(); + } // error: window.open(g_url, "_self") }); } -{% endblock %} \ No newline at end of file +{% endblock %}