Skip to content
Snippets Groups Projects
Commit a07f2493 authored by Milan Jaros's avatar Milan Jaros
Browse files

f

parent 56116830
No related branches found
No related tags found
1 merge request!1Ncc v2.2.4
......@@ -232,7 +232,7 @@ export default {
const qTextSplit1 = question.text.replace(']', '').split('[') // [1/1]
if (qTextSplit1.length > 1) {
var i;
let i = 0
for (i = 1; i < qTextSplit1.length; i++) {
const qTextSplit2 = qTextSplit1[i].split('/') // 1/1]
if (qTextSplit2.length > 1) {
......@@ -258,8 +258,9 @@ export default {
try {
let index = this.questionIndex
if (checkQuestion(index))
if (this.checkQuestion(index)) {
questionsArray.push(this.form.questions[index])
}
while (index < this.form.questions.length - 1) {
index = index + 1
......@@ -269,8 +270,9 @@ export default {
break
}
if (checkQuestion(index))
if (this.checkQuestion(index)) {
questionsArray.push(this.form.questions[index])
}
}
this.questionIndex = index
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment