--- loncom/interface/coursecatalog.pm 2009/02/07 18:15:44 1.46 +++ loncom/interface/coursecatalog.pm 2009/02/07 22:03:45 1.48 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for displaying the course catalog interface # -# $Id: coursecatalog.pm,v 1.46 2009/02/07 18:15:44 raeburn Exp $ +# $Id: coursecatalog.pm,v 1.48 2009/02/07 22:03:45 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -398,12 +398,19 @@ sub cat_header { text=>"Select courses"}); $r->print(&Apache::lonhtmlcommon::breadcrumbs('Select courses')); } + my $onchange; + unless (($env{'browser.interface'} eq 'textual') || ($env{'form.interface'} eq 'textual')) { + $onchange = 1; + } $r->print('
'. + &Apache::loncommon::select_dom_form($codedom,'showdom','',1,$onchange)); + if (!$onchange) { + $r->print(' '); + } + $r->print(''. ''); return; }