parent
28965ed380
commit
f3923f64fd
|
@ -22,7 +22,6 @@ function checkPluginsInput(plugins) {
|
||||||
|
|
||||||
function checkPagesInput(pages) {
|
function checkPagesInput(pages) {
|
||||||
for (var i = 0;i < pages.length; i++){
|
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 j = 0; j < pages[i].batches.length; j++){
|
||||||
for (var k = 0; k < pages[i].batches[j].behaviors.length; k++){
|
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++){
|
for (var q = 0; q < pages[i].batches[j].behaviors[k].parameters.length; q++){
|
||||||
|
|
|
@ -97,7 +97,7 @@ DataCollector.prototype.tableData = function(editor) {
|
||||||
for ( var j = 0; j < tdArray.length; j++) {
|
for ( var j = 0; j < tdArray.length; j++) {
|
||||||
var tmpRequired = $(tdArray[j]).children("input").attr("required");
|
var tmpRequired = $(tdArray[j]).children("input").attr("required");
|
||||||
var tmpValue = $(tdArray[j]).children("input").val();
|
var tmpValue = $(tdArray[j]).children("input").val();
|
||||||
if (tmpRequired == "Required" && tmpValue == "")
|
if (tmpRequired == "required" && tmpValue == "")
|
||||||
check = "false";
|
check = "false";
|
||||||
if ($(tdArray[j]).children("input").val() == undefined
|
if ($(tdArray[j]).children("input").val() == undefined
|
||||||
|| $(tdArray[j]).children("input").val() == "") {
|
|| $(tdArray[j]).children("input").val() == "") {
|
||||||
|
|
Loading…
Reference in New Issue