dever 7 years ago
parent
commit
d03840ef00
1 changed files with 8 additions and 8 deletions
  1. 8 8
      assets/lib/manage/main.js

+ 8 - 8
assets/lib/manage/main.js

@@ -879,9 +879,9 @@ function checkbox()
 				
 				if($(this).get(0).checked == true)
 				{
-					if(next.length)
+					if(next.length && next.attr('type') != 'checkbox')
 					{
-						//next.attr('disabled', false);
+						next.attr('disabled', false);
 					}
 					if($("#mul_type").length)
 					{
@@ -890,9 +890,9 @@ function checkbox()
 				}
 				else
 				{
-					if(next.length)
+					if(next.length && next.attr('type') != 'checkbox')
 					{
-						//next.attr('disabled', true);
+						next.attr('disabled', true);
 					}
 						
 					if($("#mul_type").length)
@@ -929,9 +929,9 @@ function checkbox()
 							$("#mul_type").val(1);
 						}
 						
-						if(next.length)
+						if(next.length && next.attr('type') != 'checkbox')
 						{
-							//next.attr('disabled', false);
+							next.attr('disabled', false);
 						}
 					}
 					else
@@ -956,9 +956,9 @@ function checkbox()
 							}
 						}
 						
-						if(next.length)
+						if(next.length && next.attr('type') != 'checkbox')
 						{
-							//next.attr('disabled', true);
+							next.attr('disabled', true);
 						}
 					}
 				})