Diff for /loncom/homework/grades.pm between versions 1.770 and 1.772

version 1.770, 2020/05/20 22:02:57 version 1.772, 2020/08/29 16:39:00
Line 1589  INNERJS Line 1589  INNERJS
     if (document.getSelection) txt = document.getSelection();      if (document.getSelection) txt = document.getSelection();
     else if (document.selection) txt = document.selection.createRange().text;      else if (document.selection) txt = document.selection.createRange().text;
     else return;      else return;
       if (typeof(txt) != 'string') {
           txt = String(txt);
       }
     var cleantxt = txt.replace(new RegExp('([\\f\\n\\r\\t\\v ])+', 'g')," ");      var cleantxt = txt.replace(new RegExp('([\\f\\n\\r\\t\\v ])+', 'g')," ");
     if (cleantxt=="") {      if (cleantxt=="") {
  alert("$js_lt{'plse'}");   alert("$js_lt{'plse'}");
Line 11145  sub startpage { Line 11148  sub startpage {
 sub select_problem {  sub select_problem {
     my ($r)=@_;      my ($r)=@_;
     $r->print('<h3>'.&mt('Select the problem or one of the problems you want to grade').'</h3><form action="/adm/grades">');      $r->print('<h3>'.&mt('Select the problem or one of the problems you want to grade').'</h3><form action="/adm/grades">');
     $r->print(&Apache::lonstathelpers::problem_selector('.',undef,1,undef,undef,undef,undef,1));      $r->print(&Apache::lonstathelpers::problem_selector('.',undef,1,undef,undef,1,1));
     $r->print('<input type="hidden" name="command" value="gradingmenu" />');      $r->print('<input type="hidden" name="command" value="gradingmenu" />');
     $r->print('<input type="submit" value="'.&mt('Next').' &rarr;" /></form>');      $r->print('<input type="submit" value="'.&mt('Next').' &rarr;" /></form>');
 }  }

Removed from v.1.770  
changed lines
  Added in v.1.772


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