Index: lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringForm.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringForm.java,v
diff -u -r1.22 -r1.23
--- lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringForm.java 20 Sep 2006 01:18:30 -0000 1.22
+++ lams_tool_nb/src/java/org/lamsfoundation/lams/tool/noticeboard/web/NbAuthoringForm.java 30 Apr 2008 06:35:52 -0000 1.23
@@ -273,11 +273,14 @@
{
nbContent.setTitle(getTitle());
nbContent.setContent(getContent());
- nbContent.setOnlineInstructions(getOnlineInstructions());
- nbContent.setOfflineInstructions(getOfflineInstructions());
- nbContent.setReflectOnActivity(getReflectOnActivity());
- nbContent.setReflectInstructions(getReflectInstructions());
- nbContent.setDateUpdated(new Date(System.currentTimeMillis()));
+ if (defineLater == null || defineLater.isEmpty()) {
+ // ie. If defineLater is null or empty, this means we are in authoring
+ nbContent.setOnlineInstructions(getOnlineInstructions());
+ nbContent.setOfflineInstructions(getOfflineInstructions());
+ nbContent.setReflectOnActivity(getReflectOnActivity());
+ nbContent.setReflectInstructions(getReflectInstructions());
+ nbContent.setDateUpdated(new Date(System.currentTimeMillis()));
+ }
}
public String getCurrentTab() {
Index: lams_tool_nb/web/authoring/authoring.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_nb/web/authoring/authoring.jsp,v
diff -u -r1.21 -r1.22
--- lams_tool_nb/web/authoring/authoring.jsp 8 Jun 2007 01:39:25 -0000 1.21
+++ lams_tool_nb/web/authoring/authoring.jsp 30 Apr 2008 06:35:53 -0000 1.22
@@ -63,6 +63,7 @@
+