[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 16 Sep 2002 20:40:38 -0000
albertel Mon Sep 16 16:40:38 2002 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- I'll get this right some day.
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.113 loncom/homework/structuretags.pm:1.114
--- loncom/homework/structuretags.pm:1.113 Mon Sep 9 17:08:31 2002
+++ loncom/homework/structuretags.pm Mon Sep 16 16:40:38 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.113 2002/09/09 21:08:31 albertel Exp $
+# $Id: structuretags.pm,v 1.114 2002/09/16 20:40:38 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -481,7 +481,8 @@
my $result='';
if ($target eq 'edit') {
$result=&problem_edit_footer();
- } elsif ($target eq 'web' && $ENV{'request.state'} eq "construct") {
+ } elsif ($target eq 'web' && $$tagstack[0] ne 'problem' &&
+ $ENV{'request.state'} eq "construct") {
$result.='</form></body>'.&Apache::lonxml::xmlend();
}
return $result;