--- loncom/interface/loncommon.pm 2009/05/21 05:27:10 1.692.4.2 +++ loncom/interface/loncommon.pm 2009/08/14 03:48:49 1.692.4.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.692.4.2 2009/05/21 05:27:10 raeburn Exp $ +# $Id: loncommon.pm,v 1.692.4.4 2009/08/14 03:48:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -407,6 +407,7 @@ sub studentbrowser_javascript { ) { return ''; } return (<<'ENDSTDBRW'); ENDSTDBRW } @@ -461,6 +463,7 @@ sub selectstudent_link { sub authorbrowser_javascript { return <<"ENDAUTHORBRW"; ENDAUTHORBRW } @@ -482,6 +485,7 @@ sub coursebrowser_javascript { my $crs_or_grp_alert = &mt('Please select the type of LON-CAPA entity - Course or Group - for which you wish to add/modify a user role'); my $output = ' '; return $output; } @@ -825,6 +830,7 @@ sub linked_select_forms { # output the javascript to do the changing my $result = ''; $result.=' END # output the initial values for the selection lists @@ -976,7 +983,7 @@ sub helpLatexCheatsheet { my ($topic,$text,$not_author) = @_; my $out; my $addOther = ''; - if ($other) { + if ($topic) { $addOther = &Apache::loncommon::help_open_topic($topic,$text, undef, undef, 600) . '