[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /homework essayresponse.pm
From: raeburn <raeburn () source ! lon-capa ! org>
Date: 2010-04-19 4:20:25
Message-ID: cvsraeburn1271650825 () cvsserver
[Download RAW message or body]
raeburn Mon Apr 19 04:20:25 2010 EDT
Modified files:
/loncom/homework essayresponse.pm
Log:
- Bug 6257.
- Fix typo.
Index: loncom/homework/essayresponse.pm
diff -u loncom/homework/essayresponse.pm:1.103 loncom/homework/essayresponse.pm:1.104
--- loncom/homework/essayresponse.pm:1.103 Mon Apr 19 04:02:37 2010
+++ loncom/homework/essayresponse.pm Mon Apr 19 04:20:25 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# essay (ungraded) style responses
#
-# $Id: essayresponse.pm,v 1.103 2010/04/19 04:02:37 raeburn Exp $
+# $Id: essayresponse.pm,v 1.104 2010/04/19 04:20:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -41,6 +41,8 @@
sub start_essayresponse {
my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
my $result;
+ print STDERR "target is $target AND status is ".$Apache::inputtags::status[-1]." AND ".
+ " type is ".$Apache::lonhomework::type."\n";
my $id = &Apache::response::start_response($parstack,$safeeval);
if ($target eq 'meta') {
$result=&Apache::response::meta_package_write('essayresponse');
@@ -64,7 +66,7 @@
$result.='<br /><table border="1">';
if (($Apache::lonhomework::type ne 'survey') &&
($Apache::lonhomework::type ne 'surveycred') &&
- ($Apache::lonhomework::type eq 'anonsurvey') &&
+ ($Apache::lonhomework::type ne 'anonsurvey') &&
($Apache::lonhomework::type ne 'anonsurveycred')) {
$result.= '<tr><td>'.
'<label>'.
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic