[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 28 Apr 2006 18:34:22 -0000


albertel		Fri Apr 28 14:34:22 2006 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - ticket # 3318, spage headers missing, buttions didn't wortk in edit mode on a problem
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.353 loncom/homework/structuretags.pm:1.354
--- loncom/homework/structuretags.pm:1.353	Fri Apr 28 14:33:10 2006
+++ loncom/homework/structuretags.pm	Fri Apr 28 14:34:22 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.353 2006/04/28 18:33:10 albertel Exp $
+# $Id: structuretags.pm,v 1.354 2006/04/28 18:34:22 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -606,7 +606,8 @@
 
     my $name= &get_resource_name($parstack,$safeeval);
     my ($result,$form_tag_start);
-    if ($target eq 'web' || $target eq 'webgrade' || $target eq 'tex') {
+    if ($target eq 'web' || $target eq 'webgrade' || $target eq 'tex'
+	|| $target eq 'edit') {
 	($result,$form_tag_start) =
 	    &page_start($target,$token,$tagstack,$parstack,$parser,$safeeval,
 			$name);