Index: lams_tool_vote/web/authoring/AuthoringMaincontent.jsp =================================================================== diff -u -r192e812bc372965e505ea849d55537547fae74bd -r3b59f7ff8078fd852f279572927e5ed86bc78286 --- lams_tool_vote/web/authoring/AuthoringMaincontent.jsp (.../AuthoringMaincontent.jsp) (revision 192e812bc372965e505ea849d55537547fae74bd) +++ lams_tool_vote/web/authoring/AuthoringMaincontent.jsp (.../AuthoringMaincontent.jsp) (revision 3b59f7ff8078fd852f279572927e5ed86bc78286) @@ -90,29 +90,39 @@ var themeName="aqua"; function init(){ - - initTabSize(3); - - var tag = document.getElementById("currentTab"); - if(tag.value != "") - selectTab(tag.value); - else - selectTab(1); //select the default tab; - - - initEditor("richTextOfflineInstructions"); - initEditor("richTextOnlineInstructions"); - - - initEditor("title"); - initEditor("instructions"); - - initEditor("optionContent0"); - - - - initEditor(""); - + if (document.VoteAuthoringForm.activeModule.value != 'defineLater') + { + initTabSize(3); + + var tag = document.getElementById("currentTab"); + if(tag.value != "") + selectTab(tag.value); + else + selectTab(1); //select the default tab; + + initEditor("richTextOfflineInstructions"); + initEditor("richTextOnlineInstructions"); + } + else + { + initTabSize(1); + + var tag = document.getElementById("currentTab"); + if(tag.value != "") + selectTab(tag.value); + else + selectTab(1); //select the default tab; + } + + initEditor("title"); + initEditor("instructions"); + + initEditor("optionContent0"); + + + + initEditor(""); + } function doSelectTab(tabId) { Index: lams_tool_vote/web/authoring/BasicContentViewOnly.jsp =================================================================== diff -u -r6e806e2588289bb42a1791b145a0f403a72a883d -r3b59f7ff8078fd852f279572927e5ed86bc78286 --- lams_tool_vote/web/authoring/BasicContentViewOnly.jsp (.../BasicContentViewOnly.jsp) (revision 6e806e2588289bb42a1791b145a0f403a72a883d) +++ lams_tool_vote/web/authoring/BasicContentViewOnly.jsp (.../BasicContentViewOnly.jsp) (revision 3b59f7ff8078fd852f279572927e5ed86bc78286) @@ -58,7 +58,7 @@ - : + :