|
|
@@ -82,7 +82,9 @@
|
|
|
$(this).parent().parent().find('[level=1]').prop('checked','checked');
|
|
|
}
|
|
|
else{
|
|
|
- if($(this).parent().find('input:checked').length==0){
|
|
|
+ if($(this).parent().find('[level=2]').checked){
|
|
|
+ //$(this).parent().parent().find('[level=1]').removeAttr('checked');
|
|
|
+ }else{
|
|
|
$(this).parent().parent().find('[level=1]').removeAttr('checked');
|
|
|
}
|
|
|
|
|
|
@@ -91,13 +93,6 @@
|
|
|
});
|
|
|
</script>
|
|
|
<script>
|
|
|
- $(".fa-comments-o").change(function(){
|
|
|
- if($(".fa-comments-o:checked").length!=0){
|
|
|
- $("#fa-comments-o").prop("checked",true);
|
|
|
- }else{
|
|
|
- $("#fa-comments-o").prop("checked",false);
|
|
|
- }
|
|
|
- });
|
|
|
|
|
|
function checkboxOnclick(checkbox){
|
|
|
|