--- loncom/interface/lonsearchcat.pm 2009/07/31 17:58:16 1.314
+++ loncom/interface/lonsearchcat.pm 2009/10/22 13:41:41 1.316
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Catalog
#
-# $Id: lonsearchcat.pm,v 1.314 2009/07/31 17:58:16 bisitz Exp $
+# $Id: lonsearchcat.pm,v 1.316 2009/10/22 13:41:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -268,23 +268,23 @@ sub handler {
if ($env{'form.catalogmode'} eq 'interactive') {
$closebutton="
+onclick='javascript:select_group()' />
END
} else {
$closebutton = '';
@@ -3606,7 +3606,7 @@ sub summary_view {
my $link = &display_url($jumpurl,[2,0,1]);
$result.=<$values{'title'}
$link
$values{'author'}, $values{'owner'} -- $values{'lastrevisiondate'}
@@ -3884,21 +3884,30 @@ sub output_blank_field_error {
my ($r,$closebutton,$parms,$hidden_fields)=@_;
my $errormsg = &mt('You did not fill in enough information for the search to be started. You need to fill in relevant fields on the search page in order for a query to be processed.');
my $revise = &mt('Revise Search Request');
- my $heading = &mt('Unactionable Search Queary');
+ my $heading = &mt('Unactionable Search Query');
my $start_page = &Apache::loncommon::start_page('Search');
my $end_page = &Apache::loncommon::end_page();
+ if ($closebutton) {
+ $closebutton = '