[LON-CAPA-cvs] cvs: loncom(version_2_7_X) /homework/caparesponse caparesponse.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Tue, 23 Sep 2008 19:22:58 -0000


raeburn		Tue Sep 23 15:22:58 2008 EDT

  Modified files:              (Branch: version_2_7_X)
    /loncom/homework/caparesponse	caparesponse.pm 
  Log:
  Backport 1.235 
  
  
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.227.2.3 loncom/homework/caparesponse/caparesponse.pm:1.227.2.4
--- loncom/homework/caparesponse/caparesponse.pm:1.227.2.3	Fri Sep 19 20:28:34 2008
+++ loncom/homework/caparesponse/caparesponse.pm	Tue Sep 23 15:22:58 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # caparesponse definition
 #
-# $Id: caparesponse.pm,v 1.227.2.3 2008/09/20 00:28:34 raeburn Exp $
+# $Id: caparesponse.pm,v 1.227.2.4 2008/09/23 19:22:58 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -608,7 +608,7 @@
 	}
         if (($target eq 'web') && ($tag eq 'formularesponse')
             && ($Apache::lonhomework::type ne 'exam') && ($Apache::inputtags::status['-1'] eq 'CAN_ANSWER')
-	    && (&Apache::lonnet::EXT('resource.'.$partid.'_'.$id.'.turnoneditor') ne 'no')) {
+	    && (&Apache::lonnet::EXT('resource.'.$partid.'_'.$id.'.turnoffeditor') ne 'yes')) {
             $result.=&Apache::response::edit_mathresponse_button($id,"HWVAL_$id");
         }