Commit c9edd3c9457880a350fa96bcedf92379ed84c8ad
Merge branch '睿教中性版' of http://120.78.57.84/Elvis/SunvoteEducation into 睿教中性版
Showing
1 changed file
with
2 additions
and
0 deletions
WebRoot/static/js/control-604.js
| ... | ... | @@ -360,11 +360,13 @@ $(function() { |
| 360 | 360 | if ($("#type").val() == 4) { |
| 361 | 361 | $("#num_ans_2").val(2); |
| 362 | 362 | $("#num_ans_2").attr("disabled", "disabled"); |
| 363 | + $("#num_ans_2").closest(".form-group").css("display","block"); | |
| 363 | 364 | }else if($("#type").val() == 6){ |
| 364 | 365 | $("#num_ans_2").closest(".form-group").css("display","none"); |
| 365 | 366 | }else { |
| 366 | 367 | $("#num_ans_2").removeAttr("disabled"); |
| 367 | 368 | $("#num_ans_2").val(4); |
| 369 | + $("#num_ans_2").closest(".form-group").css("display","block"); | |
| 368 | 370 | |
| 369 | 371 | } |
| 370 | 372 | }) | ... | ... |