Diff for /loncom/homework/inputtags.pm between versions 1.333.2.9 and 1.333.2.11

version 1.333.2.9, 2019/12/04 02:10:23 version 1.333.2.11, 2021/09/11 16:12:25
Line 1879  sub previous_tries { Line 1879  sub previous_tries {
     my $prefix = $env{'form.request.prefix'};      my $prefix = $env{'form.request.prefix'};
     $prefix =~ tr{.}{_};      $prefix =~ tr{.}{_};
     my $function_name = 'LONCAPA_previous_tries_'.$prefix;      my $function_name = 'LONCAPA_previous_tries_'.$prefix;
     if (($env{'request.state'} eq 'construct') || ($id =~ /[._]|[^\w\s\-]/)) {      if (($env{'request.state'} eq 'construct') || ($id =~ /\W/)) {
         $function_name .= $Apache::lonxml::curdepth;          $function_name .= $Apache::lonxml::curdepth;
     } else {      } else {
         $function_name .= &js_escape($id);          $function_name .= $id;
     }      }
     $function_name .= '_'.$Apache::lonxml::counter;      $function_name .= '_'.$Apache::lonxml::counter;
     my $result = &Apache::loncommon::modal_adhoc_window($function_name,420,410,$output,&mt($tries_text))."<br />";      my $possmathjax = 1;
       my $result = &Apache::loncommon::modal_adhoc_window($function_name,420,410,$output,
                                                           &mt($tries_text),$possmathjax)."<br />";
     return $result;      return $result;
 }  }
   

Removed from v.1.333.2.9  
changed lines
  Added in v.1.333.2.11


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