diff --git a/Bench4Q-Web/src/main/webapp/script/scriptManager/contentVerification.js b/Bench4Q-Web/src/main/webapp/script/scriptManager/contentVerification.js index 93c7d34e..c5afa008 100644 --- a/Bench4Q-Web/src/main/webapp/script/scriptManager/contentVerification.js +++ b/Bench4Q-Web/src/main/webapp/script/scriptManager/contentVerification.js @@ -22,7 +22,6 @@ function checkPluginsInput(plugins) { function checkPagesInput(pages) { for (var i = 0;i < pages.length; i++){ - console.log(pages[i].batches.length); for (var j = 0; j < pages[i].batches.length; j++){ for (var k = 0; k < pages[i].batches[j].behaviors.length; k++){ for (var q = 0; q < pages[i].batches[j].behaviors[k].parameters.length; q++){ diff --git a/Bench4Q-Web/src/main/webapp/script/scriptManager/dataCollect.js b/Bench4Q-Web/src/main/webapp/script/scriptManager/dataCollect.js index ae460008..0712eb84 100644 --- a/Bench4Q-Web/src/main/webapp/script/scriptManager/dataCollect.js +++ b/Bench4Q-Web/src/main/webapp/script/scriptManager/dataCollect.js @@ -97,7 +97,7 @@ DataCollector.prototype.tableData = function(editor) { for ( var j = 0; j < tdArray.length; j++) { var tmpRequired = $(tdArray[j]).children("input").attr("required"); var tmpValue = $(tdArray[j]).children("input").val(); - if (tmpRequired == "Required" && tmpValue == "") + if (tmpRequired == "required" && tmpValue == "") check = "false"; if ($(tdArray[j]).children("input").val() == undefined || $(tdArray[j]).children("input").val() == "") {