Diff for /loncom/homework/structuretags.pm between versions 1.521 and 1.522

version 1.521, 2014/09/15 17:45:35 version 1.522, 2014/09/16 13:28:30
Line 283  $(document).ready(function(){ Line 283  $(document).ready(function(){
                 submithandled = 1;                  submithandled = 1;
                 $( "#msg_"+buttonId ).css({"display": "inline","background-color": "#87cefa",                  $( "#msg_"+buttonId ).css({"display": "inline","background-color": "#87cefa",
                                            "color": "black","padding": "2px"}) ;                                             "color": "black","padding": "2px"}) ;
                 $( ".LC_status_"+buttonId ).hide();  
                 if (( $(this.form).id == "LC_page" ) && ($('input[name="all_submit"]').length )) {                  if (( $(this.form).id == "LC_page" ) && ($('input[name="all_submit"]').length )) {
                     if (( "#"+buttonId+"_pressed" ).length) {                      if (buttonId != "all_submit") {
                         $( "#"+buttonId+"_pressed" ).val( "1" );                          $( ".LC_status_"+buttonId ).hide();
                           if (( "#"+buttonId+"_pressed" ).length) {
                               $( "#"+buttonId+"_pressed" ).val( "1" );
                           }
                     }                      }
                   } else {
                       $( ".LC_status_"+buttonId ).hide();
                 }                  }
                 $(this.form).submit();                  $(this.form).submit();
                 $( ".LC_hwk_submit" ).prop( "disabled", true);                  $( ".LC_hwk_submit" ).prop( "disabled", true);
Line 299  $(document).ready(function(){ Line 303  $(document).ready(function(){
     });      });
 });  });
   
   
 // ]]>  // ]]>
 </script>  </script>
 JS  JS

Removed from v.1.521  
changed lines
  Added in v.1.522


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