Index: lams_tool_vote/web/authoring/AuthoringMaincontent.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_vote/web/authoring/AuthoringMaincontent.jsp,v diff -u -r1.12 -r1.13 --- lams_tool_vote/web/authoring/AuthoringMaincontent.jsp 22 May 2006 21:18:50 -0000 1.12 +++ lams_tool_vote/web/authoring/AuthoringMaincontent.jsp 23 May 2006 08:28:38 -0000 1.13 @@ -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 =================================================================== RCS file: /usr/local/cvsroot/lams_tool_vote/web/authoring/Attic/BasicContentViewOnly.jsp,v diff -u -r1.3 -r1.4 --- lams_tool_vote/web/authoring/BasicContentViewOnly.jsp 30 Apr 2006 06:51:12 -0000 1.3 +++ lams_tool_vote/web/authoring/BasicContentViewOnly.jsp 23 May 2006 08:28:38 -0000 1.4 @@ -58,7 +58,7 @@ - : + :