Index: lams_tool_laqa/web/learning/mobile/AnswersContent.jsp =================================================================== diff -u -rc41e91de9fac7121b8f7c7f7f72193f5edd13a31 -r54a80232b22889fea45b3ae898fc75e24a5a8dfb --- lams_tool_laqa/web/learning/mobile/AnswersContent.jsp (.../AnswersContent.jsp) (revision c41e91de9fac7121b8f7c7f7f72193f5edd13a31) +++ lams_tool_laqa/web/learning/mobile/AnswersContent.jsp (.../AnswersContent.jsp) (revision 54a80232b22889fea45b3ae898fc75e24a5a8dfb) @@ -53,19 +53,9 @@ jQuery(".min-words-limit-enabled").each(function() { var questionId = (${generalLearnerFlowDTO.questionListingMode == 'questionListingModeSequential'}) ? "" : $(this).data("sequence-id"); - var isCkeditor = $(this).data("is-ckeditor"); + var instance = $("#answer"+ questionId); + var value = $("#answer"+ questionId).val(); - var value; - var instance; - if (isCkeditor) { - instance = CKEDITOR.instances["answer" + questionId]; - value = CKEDITOR.instances["answer" + questionId].getData(); - - } else { - instance = $("#answer"+ questionId); - value = $("#answer"+ questionId).val(); - } - var numberEnteredWords = getNumberOfWords(value); var minWordsLimit = $(this).data("min-words-limit");