Index: lams_central/web/questions/questionChoice.jsp =================================================================== diff -u -r480b15c94636d9f68721a022f60bbd65b2d8b530 -r54a3c302d29d64b55efa18189083dadd13c51708 --- lams_central/web/questions/questionChoice.jsp (.../questionChoice.jsp) (revision 480b15c94636d9f68721a022f60bbd65b2d8b530) +++ lams_central/web/questions/questionChoice.jsp (.../questionChoice.jsp) (revision 54a3c302d29d64b55efa18189083dadd13c51708) @@ -106,7 +106,7 @@ $('#generateQuestionsButton').prop('disabled', false).button('reset'); }, 'error' : function () { - alert(''); + alert(''); }, 'success': function (questions) { let questionCount = +$('#questionCount').val(); @@ -124,7 +124,7 @@ questionContainer.find('.questionCheckbox').attr('data-question-index', questionIndex) .attr('id', 'question' + questionIndex + 'checkbox'); questionContainer.find('.questionTitleDisplay') - .text(questionIndex + '. ()'); + .text(questionIndex + '. ()'); questionContainer.find('.editableQuestionTitle').attr('id', 'question' + questionIndex) .attr('name', 'question' + questionIndex).attr('value', question.title) .val(question.title); @@ -179,7 +179,7 @@ .attr('name', 'question' + questionIndex + 'answer' + answerIndex).attr('value', answer.text) .val(answer.text); if (answer.score == 1) { - $('').text(' ()').insertAfter(answerText); + $('').text(' ()').insertAfter(answerText); } answerContainer.find('.answerScore').attr('name', 'question' + questionIndex + 'answer' + answerIndex + 'score') .val(answer.score); @@ -261,7 +261,7 @@ previouslySelectedOption = $('option[selected]', collectionSelect); if (newValue == -1) { // create a new collection on the fly - let newCollectionName = prompt(''), + let newCollectionName = prompt(''), newCollectionUid = -1; if (newCollectionName) { newCollectionName = newCollectionName.trim();