Diff for /loncom/homework/lonhomework.pm between versions 1.349.2.1 and 1.349.2.2

version 1.349.2.1, 2015/03/03 16:54:03 version 1.349.2.2, 2015/04/14 21:35:56
Line 1332  sub update_construct_style { Line 1332  sub update_construct_style {
 }  }
   
 # Sets timer to zero for the entire folder containing the current resource for the  # Sets timer to zero for the entire folder containing the current resource for the
 # current user.  This is called by the done button and the javascript function  # current user.
 # zeroTimer() in lonmenu.pm  
 sub zero_timer {  sub zero_timer {
     my $symb = shift;      my $symb = shift;
     my $first_access = &Apache::lonnet::get_first_access("map",$symb);      my $first_access = &Apache::lonnet::get_first_access("map",$symb);
Line 1349  sub handler { Line 1348  sub handler {
   
     my ($symb) = &Apache::lonnet::whichuser();      my ($symb) = &Apache::lonnet::whichuser();
   
     # Set the event timer to zero if the "done button" was clicked.      # Set the event timer to zero if the "done button" was clicked.  The button is 
       # part of the doneButton form created in lonmenu.pm
     if ($env{"form.done"} eq "true") {      if ($env{"form.done"} eq "true") {
         &zero_timer($symb);          &zero_timer($symb);
         $env{"form.done"} = "";          $env{"form.done"} = "";

Removed from v.1.349.2.1  
changed lines
  Added in v.1.349.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>