diff --git a/addform.html b/addform.html index 6ad915b..a2c266d 100644 --- a/addform.html +++ b/addform.html @@ -4789,10 +4789,12 @@ function check_Remove_Empty_Question(IdToRemove , DeleteElement=0) { } else if(newVariableWithoutNumbers == "subSectionDescriptionWorkarea_"){ var subSectionDescription = document.getElementById(IdToRemove).querySelector('p').innerHTML; - console.log(subSectionDescription != '
'); - if(subSectionDescription != '
' ){ - attrId= subSectionDescription; - } + attrId= subSectionDescription + // console.log(subSectionDescription == '
'); + // if(subSectionDescription !== '
' ){ + // attrId= subSectionDescription; + // // attrId =''; + // } } else{ const previousElement = input_text_value.previousElementSibling; @@ -4863,7 +4865,7 @@ function check_Remove_Empty_Question(IdToRemove , DeleteElement=0) { collect_Empty_Question_Id(newArrayString); } } - else if(attrId === '' || attrId == '


' || attrId === '



') { + else if(attrId === '' || attrId == '


' || attrId === '



' || attrId === '
') { // alert('3') // console.log('check empty question : ', attrId); @@ -4871,6 +4873,7 @@ function check_Remove_Empty_Question(IdToRemove , DeleteElement=0) { var newArray = parsedArray.push(IdToRemove); } const newArrayString = JSON.stringify(parsedArray); + // console.log(newArrayString); collect_Empty_Question_Id(newArrayString); } diff --git a/assets/appSetting/AppSetting.json b/assets/appSetting/AppSetting.json index 125fe2c..a1b28dd 100644 --- a/assets/appSetting/AppSetting.json +++ b/assets/appSetting/AppSetting.json @@ -1 +1 @@ -{"AppSetting":["WorkArea,SubTitle,MathCheckbox,TextQuestionButton,MCQQuestionButton"]} \ No newline at end of file +{"AppSetting":["WorkArea,MathCheckbox,TextQuestionButton,MCQQuestionButton"]} \ No newline at end of file diff --git a/assets/appSetting/AppSettingUnchecked.json b/assets/appSetting/AppSettingUnchecked.json index 7bd161a..44893b5 100644 --- a/assets/appSetting/AppSettingUnchecked.json +++ b/assets/appSetting/AppSettingUnchecked.json @@ -1 +1 @@ -{"AppSetting":[""]} \ No newline at end of file +{"AppSetting":["SubTitle"]} \ No newline at end of file