--- loncom/interface/loncommon.pm 2010/01/08 00:52:06 1.930 +++ loncom/interface/loncommon.pm 2010/01/19 15:56:15 1.931 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.930 2010/01/08 00:52:06 faziophi Exp $ +# $Id: loncommon.pm,v 1.931 2010/01/19 15:56:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -484,8 +484,8 @@ ENDAUTHORBRW sub coursebrowser_javascript { my ($domainfilter,$sec_element,$formname,$role_element,$crstype) = @_; my $wintitle = &mt('Course Browser'); - if ($crstype ne '') { - $wintitle = &mt($crstype); + if ($crstype eq 'Community') { + $wintitle = &mt('Community Browser'); } my $id_functions = &javascript_index_functions(); my $output = '