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

raeburn raeburn@source.lon-capa.org
Sat, 07 Feb 2009 22:03:46 -0000


raeburn		Sat Feb  7 22:03:46 2009 EDT

  Modified files:              
    /loncom/interface	coursecatalog.pm 
  Log:
  - needs "return check_selected();" to prevent form submission.
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.47 loncom/interface/coursecatalog.pm:1.48
--- loncom/interface/coursecatalog.pm:1.47	Sat Feb  7 20:45:27 2009
+++ loncom/interface/coursecatalog.pm	Sat Feb  7 22:03:45 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.47 2009/02/07 20:45:27 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.48 2009/02/07 22:03:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -410,7 +410,7 @@
     }
     $r->print('</td></tr></table></form>'.
 	      '<form name="coursecats" method="post" action="/adm/coursecatalog"'.
-              ' onsubmit="check_selected()">'.
+              ' onsubmit="return check_selected();">'.
               '<table border="0"><tr>'.$catlinks.'</tr></table></form>');
     return;
 }