[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
amueller
amueller@source.lon-capa.org
Sat, 14 Nov 2009 17:47:18 -0000
amueller Sat Nov 14 17:47:18 2009 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
-recover the functionality of Parameter Screen with overview mode
some radiobuttons in the navmap-tree haven't had a value in the value attribut of the <input> tag for radiobuttons. So the
subroutine newoverview didn't know which Folder was selected.
I adjusted the argument list of the mapmenu call with the argument \%symbp, so that the function mapmenu can creat for all folders
a value for the value attribut in radiobutton-input-tags.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.482 loncom/interface/lonparmset.pm:1.483
--- loncom/interface/lonparmset.pm:1.482 Sat Nov 14 17:29:13 2009
+++ loncom/interface/lonparmset.pm Sat Nov 14 17:47:18 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.482 2009/11/14 17:29:13 amueller Exp $
+# $Id: lonparmset.pm,v 1.483 2009/11/14 17:47:18 amueller Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3190,7 +3190,7 @@
if ($parmlev ne 'general') {
#$r->print('<td class="LC_parm_overview_map_menu">');
$r->print(&Apache::lonhtmlcommon::row_closure());
- &mapmenu($r,\%allmaps,$pschp,\%maptitles);
+ &mapmenu($r,\%allmaps,$pschp,\%maptitles,\%symbp);
#$r->print('</td>');
}
$r->print(&Apache::lonhtmlcommon::row_closure(1));