--- loncom/interface/lonsearchcat.pm 2003/06/17 15:53:56 1.181 +++ loncom/interface/lonsearchcat.pm 2003/07/14 13:54:02 1.184 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.181 2003/06/17 15:53:56 matthew Exp $ +# $Id: lonsearchcat.pm,v 1.184 2003/07/14 13:54:02 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -557,7 +557,7 @@ ENDDOCUMENT ' '; my $relatedcheckbox = &simplecheckbox('related',$ENV{'form.related'}); my $domain = $r->dir_config('lonDefDomain'); - my $domaincheckbox = &simplecheckbox('domains',$domain,'checked'); + my $domaincheckbox = &simplecheckbox('domains',$domain); $scrout.=<{$server}; - &update_status($r,'contacting '.$server); } else { # wait a sec. to give time for files to be written # This sleep statement is here instead of outside the else # block because we do not want to pause if we have servers # left to contact. + if (scalar (keys(%Server_status))) { + &update_status($r, + 'waiting on '.(join(' ',keys(%Server_status)))); + } sleep(1); } # - if (scalar (keys(%Server_status))) { - &update_status($r,'waiting on '.(join(' ',keys(%Server_status)))); - } # # Loop through the servers we have contacted but do not # have results from yet, looking for results.