* fix a bug for action.html.php.

This commit is contained in:
wangyidong
2013-02-18 09:18:08 +00:00
parent 2780dc200b
commit f0149dbf19
+1 -1
View File
@@ -56,7 +56,7 @@ function toggleShow(obj)
$('.changes').each(function(){
var box = $(this).parent();
while($(box).attr('tagName').toLowerCase() != 'li') box = $(box).parent();
var switchButtonID = ($(box).find('span').find("input[type='button']").attr('id'));
var switchButtonID = ($(box).find('span').find("span").attr('id'));
switchChange(switchButtonID.replace('switchButton', ''));
})
}