APPSETTINGISSUE : AADHAVAN
This commit is contained in:
parent
3a5087d1a2
commit
ace083b56c
1
AppSetting.json
Normal file
1
AppSetting.json
Normal file
@ -0,0 +1 @@
|
||||
{"AppSetting":[""]}
|
||||
@ -910,8 +910,8 @@ function openPopup() {
|
||||
{value: 'WorkArea', label: 'Work Area'},
|
||||
{value: 'SubTitle', label: 'Sub Title'},
|
||||
{value: 'MathCheckbox', label: 'Math'},
|
||||
{value: 'TextQuestionButton', label: 'Text Question Button'},
|
||||
{value: 'MCQQuestionButton', label: 'MCQ Question Button'}
|
||||
{value: 'TextQuestionButton', label: 'Text Question'},
|
||||
{value: 'MCQQuestionButton', label: 'MCQ Question '}
|
||||
];
|
||||
|
||||
radioOptions.forEach(option => {
|
||||
@ -986,8 +986,9 @@ function submitValues() {
|
||||
|
||||
<script>
|
||||
function popupCheck() {
|
||||
const parentFolder = path.dirname(__filename);
|
||||
const filePath = path.join(parentFolder, 'mathEnable.json');
|
||||
// const parentFolder = path.dirname(__filename);
|
||||
// const filePath = path.join(parentFolder, 'mathEnable.json');
|
||||
const filePath = `AppSetting.json`;
|
||||
fs.readFile(filePath, 'utf8', (err, data) => {
|
||||
if (err) {
|
||||
console.error('Error reading file:', err);
|
||||
@ -995,8 +996,9 @@ function submitValues() {
|
||||
}
|
||||
const jsonObject = JSON.parse(data);
|
||||
|
||||
var aa= jsonObject.mathEnable;
|
||||
var aa= jsonObject.AppSetting;
|
||||
const inputString = aa[0];
|
||||
console.log(inputString);
|
||||
|
||||
const valuesArray = inputString.split(', ');
|
||||
valuesArray.forEach(value => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user