[LON-CAPA-cvs] cvs: loncom /interface lonsimplepage.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Fri, 18 Jan 2008 16:41:27 -0000


raeburn		Fri Jan 18 11:41:27 2008 EDT

  Modified files:              
    /loncom/interface	lonsimplepage.pm 
  Log:
  Bug 4256.
  
  
Index: loncom/interface/lonsimplepage.pm
diff -u loncom/interface/lonsimplepage.pm:1.52 loncom/interface/lonsimplepage.pm:1.53
--- loncom/interface/lonsimplepage.pm:1.52	Mon Sep 10 15:22:22 2007
+++ loncom/interface/lonsimplepage.pm	Fri Jan 18 11:41:27 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Simple Page Editor
 #
-# $Id: lonsimplepage.pm,v 1.52 2007/09/10 19:22:22 raeburn Exp $
+# $Id: lonsimplepage.pm,v 1.53 2008/01/18 16:41:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -286,7 +286,8 @@
 		      '<h3>Upload a Photo</h3>'.
 		      '<input type="file" name="uploaddoc" size="50" />'.
 		      '<input type="submit" name="storeupl" value="Upload" />'.
-		      '</form><form method="post">');
+		      '</form><form method="post">'.
+                      '<input type="hidden" name="forceedit" value="edit" />');
 	}
 	foreach my $field (sort(keys(%syllabusfields))) {
 	    if (($syllabus{$field}) || ($allowed) ||