[LON-CAPA-cvs] cvs: loncom(version_2_1_X) /homework bridgetask.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 24 Jun 2006 01:32:26 -0000
albertel Fri Jun 23 21:32:26 2006 EDT
Modified files: (Branch: version_2_1_X)
/loncom/homework bridgetask.pm
Log:
- backport 1.179
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.128.2.11 loncom/homework/bridgetask.pm:1.128.2.12
--- loncom/homework/bridgetask.pm:1.128.2.11 Mon Jun 19 05:43:38 2006
+++ loncom/homework/bridgetask.pm Fri Jun 23 21:32:25 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: bridgetask.pm,v 1.128.2.11 2006/06/19 09:43:38 albertel Exp $
+# $Id: bridgetask.pm,v 1.128.2.12 2006/06/24 01:32:25 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -368,8 +368,8 @@
my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
my ($status,$accessmsg,$slot);
+ &Apache::structuretags::init_problem_globals('Task');
if ($target ne 'webgrade') {
- &Apache::structuretags::init_problem_globals('Task');
&Apache::structuretags::initialize_storage();
&Apache::lonhomework::showhash(%Apache::lonhomework::history);
if ($env{'request.state'} eq 'construct') {
@@ -1018,6 +1018,7 @@
$result.=&Apache::response::meta_stores_write('status','string',
'Bridge Task Status');
}
+ &Apache::structuretags::reset_problem_globals('Task');
undef($Apache::lonhomework::parsing_a_task);
return $result;
}