[LON-CAPA-cvs] cvs: loncom /interface lonuserutils.pm
raeburn
raeburn@source.lon-capa.org
Sun, 20 Dec 2009 01:49:42 -0000
raeburn Sun Dec 20 01:49:42 2009 EDT
Modified files:
/loncom/interface lonuserutils.pm
Log:
- Eliminate surplus call to loncommon:end_page().
- Correct syntax in call to setSections() javascript function.
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.108 loncom/interface/lonuserutils.pm:1.109
--- loncom/interface/lonuserutils.pm:1.108 Wed Dec 16 13:00:45 2009
+++ loncom/interface/lonuserutils.pm Sun Dec 20 01:49:42 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.108 2009/12/16 13:00:45 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.109 2009/12/20 01:49:42 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -386,7 +386,7 @@
if (($context eq 'course') || ($context eq 'domain')) {
if ($context eq 'course') {
if ($env{'request.course.sec'} eq '') {
- $setsection_call = 'setSections(document.'.$param{'formname'}."'$crstype'".');';
+ $setsection_call = 'setSections(document.'.$param{'formname'}.",'$crstype'".');';
$setsections_js =
&setsections_javascript($param{'formname'},$groupslist,
$mode,'',$crstype);
@@ -3688,8 +3688,6 @@
.'<input type="submit" name="fileupload" value="'.&mt('Next').'" />'
.'</p>';
- $str .= &Apache::loncommon::end_page();
-
$r->print($str);
return;
}