From da1bca3159046c05a9934c34a366cf15e3fb2d3e Mon Sep 17 00:00:00 2001 From: haneul Date: Mon, 22 Jun 2009 05:30:53 +0000 Subject: [PATCH] fixed possible infinite loop git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6633 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- widgets/tab_newest_document/skins/xe_official/js/tab.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widgets/tab_newest_document/skins/xe_official/js/tab.js b/widgets/tab_newest_document/skins/xe_official/js/tab.js index e6c7208f9..a44074aa7 100644 --- a/widgets/tab_newest_document/skins/xe_official/js/tab.js +++ b/widgets/tab_newest_document/skins/xe_official/js/tab.js @@ -5,7 +5,10 @@ function overTab(obj) { while(cObj) { if(cObj.nodeName == "DIV" && cObj.id) { var cTabID= cObj.id; - if(cTabID.indexOf('tab')<0) continue; + if(cTabID.indexOf('tab')<0) { + cObj = cObj.nextSibling; + continue; + } var cContentID = cTabID.replace(/^tab/,'content'); if(tab_id == cTabID) {