--- loncom/interface/lonwhatsnew.pm 2005/12/15 13:38:58 1.38 +++ loncom/interface/lonwhatsnew.pm 2005/12/19 23:24:40 1.38.2.1 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.38 2005/12/15 13:38:58 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.38.2.1 2005/12/19 23:24:40 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -171,7 +171,10 @@ function change_display(caller,change) { function changeAll(change) { END foreach my $item (keys(%{$checkallowed})) { - $scripttag.='document.visible.display_'.$item.'.value=change'."\n"; + if ($$checkallowed{$item}) { + $scripttag.='document.visible.display_'.$item.'.value=change'. + "\n"; + } } $scripttag.='document.visible.submit(); }