[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 04 Jun 2003 14:49:20 -0000
albertel Wed Jun 4 10:49:20 2003 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- ARRRGGGGG!!!!!!
- mandatory_partwrite uses Apache::inputtags::response to pick up what the response id is for the meatadata. This depends on that when we do a <part> or <problem> that the ::response array be empty.
- This should fix all of the 'no data in CHRT/NAV/QUICKGRADES' etc. crap.
Andy problem published with 0.99.0 or 0.99.1 _needs_ to be republished.
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.178 loncom/homework/structuretags.pm:1.179
--- loncom/homework/structuretags.pm:1.178 Tue May 27 14:58:51 2003
+++ loncom/homework/structuretags.pm Wed Jun 4 10:49:20 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.178 2003/05/27 18:58:51 sakharuk Exp $
+# $Id: structuretags.pm,v 1.179 2003/06/04 14:49:20 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -532,6 +532,7 @@
}
} elsif ($target eq 'meta') {
if ($Apache::inputtags::part eq '0') {
+ @Apache::inputtags::response=();
$result=&Apache::response::mandatory_part_meta;
}
} elsif ($target eq 'edit') {