Index: lams_tool_laqa/web/authoring/editQuestionBox.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/editQuestionBox.jsp,v
diff -u -r1.13 -r1.14
--- lams_tool_laqa/web/authoring/editQuestionBox.jsp 3 Jun 2014 16:22:21 -0000 1.13
+++ lams_tool_laqa/web/authoring/editQuestionBox.jsp 23 Aug 2014 01:43:24 -0000 1.14
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/newQuestionBox.jsp,v
diff -u -r1.25 -r1.26
--- lams_tool_laqa/web/authoring/newQuestionBox.jsp 5 Jul 2014 19:32:54 -0000 1.25
+++ lams_tool_laqa/web/authoring/newQuestionBox.jsp 23 Aug 2014 01:43:24 -0000 1.26
@@ -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%">