From 0b1c8d44d5315b006fb576c4f5506cb17a8f0317 Mon Sep 17 00:00:00 2001 From: zhouyahui Date: Tue, 28 Aug 2018 15:46:28 +0800 Subject: [PATCH] =?UTF-8?q?IEjavascript=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Frame/page/js/as_widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebContent/Frame/page/js/as_widget.js b/WebContent/Frame/page/js/as_widget.js index eb5967863..fbffd4a49 100644 --- a/WebContent/Frame/page/js/as_widget.js +++ b/WebContent/Frame/page/js/as_widget.js @@ -172,6 +172,7 @@ var AsButton = { }, run : function(btn, fun, e){ AsLink.stopEvent(e); + var jbtn = btn; btn = $(btn); if(btn.hasClass('unable')) return; btn.addClass('unable'); @@ -179,8 +180,7 @@ var AsButton = { fun(); }finally{ try{ - var jbtn = btn; //利用函数指针规避因对象被释放导致的对象处理报错问题 by zhulh 2018/08/27 - jbtn.removeClass('unable'); + $(jbtn).removeClass('unable');//利用函数指针规避因对象被释放导致的对象处理报错问题 by zhulh 2018/08/27 } catch(e) { } }