Diff for /loncom/interface/lonevaluate.pm between versions 1.30 and 1.31

version 1.30, 2014/01/17 17:10:12 version 1.31, 2018/04/14 02:29:44
Line 76  sub handler { Line 76  sub handler {
   
     my $warning='';      my $warning='';
   
       my $windowname = 'loncapaclient';
       if ($env{'request.lti.login'}) {
           $windowname .= 'lti';
       }
   
     if ($env{'form.submiteval'} eq 'true') {      if ($env{'form.submiteval'} eq 'true') {
 # ------------------------------------------------ User is submitting something  # ------------------------------------------------ User is submitting something
         my $complete=1;          my $complete=1;
Line 90  sub handler { Line 95  sub handler {
     my $showurl=&Apache::lonenc::check_encrypt(&Apache::lonnet::clutter($feedurl));      my $showurl=&Apache::lonenc::check_encrypt(&Apache::lonnet::clutter($feedurl));
             my $js = &Apache::lonhtmlcommon::scripttag(<<ENDJS);              my $js = &Apache::lonhtmlcommon::scripttag(<<ENDJS);
     function goback() {      function goback() {
         if ((window.name=='loncapaclient')) {          if ((window.name=='$windowname')) {
             window.location='$showurl';              window.location='$showurl';
         } else {          } else {
             self.close();              self.close();

Removed from v.1.30  
changed lines
  Added in v.1.31


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