Diff for /loncom/interface/lonextresedit.pm between versions 1.28 and 1.30

version 1.28, 2019/05/02 02:12:18 version 1.30, 2022/09/09 14:24:30
Line 424  sub extedit_form { Line 424  sub extedit_form {
             $rows = 10;              $rows = 10;
             $cols = 45;              $cols = 45;
             if ($type eq 'tool') {              if ($type eq 'tool') {
                 $legend = $lt{'ee'};  
             } else {  
                 $legend = $lt{'te'};                  $legend = $lt{'te'};
               } else {
                   $legend = $lt{'ee'};
             }              }
             $legend = '<legend>'.$legend.'</legend>';              $legend = '<legend>'.$legend.'</legend>';
             if ($symb) {              if ($symb) {
Line 981  function extUrlPreview(caller,protocol) Line 981  function extUrlPreview(caller,protocol)
             http.onreadystatechange = function() {              http.onreadystatechange = function() {
                 if (http.readyState == 4) {                  if (http.readyState == 4) {
                     if (http.status == 200) {                      if (http.status == 200) {
                         if (http.responseText == 1) {                          if (http.responseText.length > 0) {
                             noiframe = 1;                              if (http.responseText == 1) {
                         } else if (http.responseText == -1) {                                  noiframe = 1;
                             nopriv = 1;                              } else if (http.responseText == -1) {
                         } else if (http.responseText == 0) {                                  nopriv = 1;
                             badurl = 1;                              } else if (http.responseText == 0) {
                                   badurl = 1;
                               }
                         }                          }
                         openPreviewWindow(url,name,noiframe,mixed,nopriv,badurl);                          openPreviewWindow(url,name,noiframe,mixed,nopriv,badurl);
                     }                      }

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


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