dev_local
daiao 6 years ago
parent 17685891d4
commit 5076773be1

@ -425,12 +425,10 @@
var percentagelist = document.getElementsByName("test_set[score][]");
if ($("#Partial_test").is(":checked")) {
if ($("#Custom_ratio").is(":checked")) {
for (var i = 0; i < percentagelist.length; i++) {
maxnum = maxnum + parseInt($(percentagelist[i]).val());
}
}
}
console.log("######"+maxnum);
if(maxnum<100 || maxnum>100){
$("#occupy_type").show()

Loading…
Cancel
Save