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

raeburn raeburn@source.lon-capa.org
Fri, 31 Jul 2009 03:14:21 -0000


raeburn		Fri Jul 31 03:14:21 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Missing single quote
  - Update POD for &select_dom_form(). 
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.872 loncom/interface/loncommon.pm:1.873
--- loncom/interface/loncommon.pm:1.872	Fri Jul 31 02:13:05 2009
+++ loncom/interface/loncommon.pm	Fri Jul 31 03:14:20 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.872 2009/07/31 02:13:05 raeburn Exp $
+# $Id: loncommon.pm,v 1.873 2009/07/31 03:14:20 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1796,7 +1796,7 @@
 
 =pod
 
-=item * &select_dom_form($defdom,$name,$includeempty,$showdomdesc,$autosubmit)
+=item * &select_dom_form($defdom,$name,$includeempty,$showdomdesc,$onchange)
 
 Returns a string containing a <select name='$name' size='1'> form to 
 allow a user to select the domain to preform an operation in.  
@@ -1815,7 +1815,7 @@
 sub select_dom_form {
     my ($defdom,$name,$includeempty,$showdomdesc,$onchange) = @_;
     if ($onchange) {
-        ' onchange="'.$onchange.'";
+        ' onchange="'.$onchange.'"';
     }
     my @domains = sort {lc($a) cmp lc($b)} (&Apache::lonnet::all_domains());
     if ($includeempty) { @domains=('',@domains); }