[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /interface coursecatalog.pm

raeburn raeburn@source.lon-capa.org
Thu, 13 Aug 2009 03:32:47 -0000


raeburn		Thu Aug 13 03:32:47 2009 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	coursecatalog.pm 
  Log:
  - Reverse change in 1.52 (not in 2.9.X).
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.53 loncom/interface/coursecatalog.pm:1.53.4.1
--- loncom/interface/coursecatalog.pm:1.53	Fri Jul 31 02:13:05 2009
+++ loncom/interface/coursecatalog.pm	Thu Aug 13 03:32:47 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.53 2009/07/31 02:13:05 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.53.4.1 2009/08/13 03:32:47 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -306,7 +306,7 @@
         $r->print(&Apache::lonhtmlcommon::breadcrumbs('Select courses'));
     }
     my $onchange;
-    unless ($env{'form.interface'} eq 'textual') {
+    unless (($env{'browser.interface'} eq 'textual') || ($env{'form.interface'} eq 'textual')) {
         $onchange = 'this.form.submit()';
     }
     $r->print('<form name="coursecatdom" method="post" action="/adm/coursecatalog">'.