--- loncom/interface/lonwhatsnew.pm 2012/10/04 11:31:58 1.108 +++ loncom/interface/lonwhatsnew.pm 2012/11/29 23:31:13 1.109 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.108 2012/10/04 11:31:58 droeschl Exp $ +# $Id: lonwhatsnew.pm,v 1.109 2012/11/29 23:31:13 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -285,6 +285,11 @@ END $scripttag.='document.visible.submit(); } +function thresholdreset() { + document.visible.command.value="reset"; + document.visible.submit(); +} + function togglelogins() { var total = document.visible.logincount.value; var sumrow = document.visible.loginrow.value; @@ -1663,10 +1668,7 @@ sub display_abovethreshold { ); if (@{$warnings} > 0) { @{$warnings} = sort { &cmp_title($a,$b,$res_title) } @{$warnings}; - $r->print('
'. - ' '."\n". - ' '. - "\n"); + $r->print(''."\n"); $r->print(''. ''.$lt{'reso'}.''. ''.$lt{'part'}.''.$lt{'nust'}.''. @@ -1704,7 +1706,7 @@ sub display_abovethreshold { } } } - $r->print('
'); + $r->print('
'); } elsif ($itemserror) { $r->print(''.$itemserror.''); } else {