Diff for /loncom/interface/lonevaluate.pm between versions 1.10 and 1.12

version 1.10, 2002/08/26 12:47:28 version 1.12, 2003/07/05 10:07:11
Line 95  sub handler { Line 95  sub handler {
 <title>Evaluation submitted</title>  <title>Evaluation submitted</title>
 <script>  <script>
     function go() {      function go() {
  if (window.name!='LONcatInfo') {   if ((window.name=='loncapaclient')) {
             window.location='/res/$feedurl';              window.location='/res/$feedurl';
           } else {
               self.close();
         }          }
     }      }
 </script>  </script>
Line 125  ENDHEADER Line 127  ENDHEADER
   
     foreach my $item (@items) {      foreach my $item (@items) {
        unless ($item eq 'comments') {         unless ($item eq 'comments') {
            unless ($item eq 'timestamp') {             unless (($item eq 'timestamp') || 
                      (!defined($currenteval{$prefix.$item}))) {
               $dialold.=                $dialold.=
                    'document.evaluation.'.$item.'.selectedIndex='.                     'document.evaluation.'.$item.'.selectedIndex='.
                    $currenteval{$prefix.$item}.";\n";                     $currenteval{$prefix.$item}.";\n";

Removed from v.1.10  
changed lines
  Added in v.1.12


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