* finish task #1526.

This commit is contained in:
wangyidong
2013-07-10 02:44:20 +00:00
parent c2c80613a9
commit 507d3bd684
2 changed files with 15 additions and 4 deletions
+11
View File
@@ -9,3 +9,14 @@ function changeGroup(role, i)
$('#group' + i).val('');
}
}
function toggleCheck(obj, i)
{
if($(obj).val() == '')
{
$('#ditto' + i).attr('checked', true);
}
else
{
$('#ditto' + i).removeAttr('checked');
}
}