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