[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm

raeburn raeburn at source.lon-capa.org
Sat Jan 28 22:02:52 EST 2012


raeburn		Sun Jan 29 03:02:52 2012 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  - Consistency with other survey types - submit button available after credit
    earned for "ANONYMOUS CREDIT" type.
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.300 loncom/homework/inputtags.pm:1.301
--- loncom/homework/inputtags.pm:1.300	Tue Dec 20 22:47:27 2011
+++ loncom/homework/inputtags.pm	Sun Jan 29 03:02:52 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.300 2011/12/20 22:47:27 raeburn Exp $
+# $Id: inputtags.pm,v 1.301 2012/01/29 03:02:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1076,6 +1076,7 @@
     } elsif ($award eq 'ANONYMOUS_CREDIT') {
         $message = &mt("Your anonymous submission has been recorded, and credit awarded.");
         $css_class=$possible_class{'correct'};
+        $button=1;
     } elsif ($award eq 'DRAFT') {
 	$message = &mt("Copy saved but not submitted.");
 	$css_class=$possible_class{'not_charged_try'};




More information about the LON-CAPA-cvs mailing list