Index: lams_tool_laqa/web/authoring/editQuestionBox.jsp
===================================================================
diff -u -ra7661f206a3f21114f1c05f9a29f56e20f5e35f0 -r7705619f9846910e009c396d8f157f9cfe07c68e
--- lams_tool_laqa/web/authoring/editQuestionBox.jsp (.../editQuestionBox.jsp) (revision a7661f206a3f21114f1c05f9a29f56e20f5e35f0)
+++ lams_tool_laqa/web/authoring/editQuestionBox.jsp (.../editQuestionBox.jsp) (revision 7705619f9846910e009c396d8f157f9cfe07c68e)
@@ -6,6 +6,7 @@
<%@ include file="/common/header.jsp"%>
+
@@ -39,7 +50,7 @@
+ contentFolderID="${qaGeneralAuthoringDTO.contentFolderID}" width="99%">
Index: lams_tool_laqa/web/authoring/newQuestionBox.jsp
===================================================================
diff -u -r2357c59f32887145d7b1d281f57b9a3b60dd359c -r7705619f9846910e009c396d8f157f9cfe07c68e
--- lams_tool_laqa/web/authoring/newQuestionBox.jsp (.../newQuestionBox.jsp) (revision 2357c59f32887145d7b1d281f57b9a3b60dd359c)
+++ lams_tool_laqa/web/authoring/newQuestionBox.jsp (.../newQuestionBox.jsp) (revision 7705619f9846910e009c396d8f157f9cfe07c68e)
@@ -20,6 +20,16 @@
document.QaAuthoringForm.submit();
}
+ $(function() {
+ //change size of an iframe on ckeditor's autogrow
+ CKEDITOR.instances.newQuestion.on("instanceReady", function(e) {
+ e.editor.on('resize',function(reEvent){
+ var iframe = window.parent.document.getElementById("messageArea");
+ iframe.style.height=eval(iframe.contentWindow.document.body.scrollHeight)+'px';
+ });
+ });
+ });
+
@@ -176,7 +186,7 @@
+ contentFolderID="${qaGeneralAuthoringDTO.contentFolderID}" width="99%">