Diff for /loncom/interface/loncommon.pm between versions 1.1213 and 1.1216

version 1.1213, 2015/04/07 13:44:25 version 1.1216, 2015/04/09 14:34:38
Line 6836  div.LC_edit_problem_discards { Line 6836  div.LC_edit_problem_discards {
 div.LC_edit_actionbar {  div.LC_edit_actionbar {
     margin: -5px 0px 0px 0px !important;      margin: -5px 0px 0px 0px !important;
     background-color: $sidebg;      background-color: $sidebg;
     height: 31px;      height: 35px;
 }  }
   
 div.LC_edit_problem_saves {  div.LC_edit_problem_saves {
Line 7772  ADDMETA Line 7772  ADDMETA
                                 $result.=<<OFFLOAD                                  $result.=<<OFFLOAD
 <meta http-equiv="pragma" content="no-cache" />  <meta http-equiv="pragma" content="no-cache" />
 <script type="text/javascript">  <script type="text/javascript">
   // <![CDATA[
 function LC_Offload_Now() {  function LC_Offload_Now() {
     var dest = "$newurl";      var dest = "$newurl";
     if (dest != '') {      if (dest != '') {
         window.location.href="$newurl";          window.location.href="$newurl";
     }      }
 }  }
 window.alert('$msg');  \$(document).ready(function () {
 if ($disable_submit) {      window.alert('$msg');
     \$(document).ready(function () {      if ($disable_submit) {
         \$(".LC_hwk_submit").prop("disabled", true);          \$(".LC_hwk_submit").prop("disabled", true);
         \$( ".LC_textline" ).prop( "readonly", "readonly");          \$( ".LC_textline" ).prop( "readonly", "readonly");
     });      }
 }      setTimeout('LC_Offload_Now()', $timeout);
 setTimeout('LC_Offload_Now()', $timeout);  });
   // ]]>
 </script>  </script>
 OFFLOAD  OFFLOAD
                             }                              }

Removed from v.1.1213  
changed lines
  Added in v.1.1216


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