From f0149dbf199b90a5407fea8b7052a2d6e6f62c80 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 18 Feb 2013 09:18:08 +0000 Subject: [PATCH] * fix a bug for action.html.php. --- module/common/view/action.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/view/action.html.php b/module/common/view/action.html.php index 4eaf0619a0..a17c6a5aac 100644 --- a/module/common/view/action.html.php +++ b/module/common/view/action.html.php @@ -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', '')); }) }