--- loncom/interface/lonindexer.pm 2002/03/14 21:37:04 1.38 +++ loncom/interface/lonindexer.pm 2002/03/19 19:55:52 1.39 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.38 2002/03/14 21:37:04 matthew Exp $ +# $Id: lonindexer.pm,v 1.39 2002/03/19 19:55:52 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -171,7 +171,7 @@ END my $mode = $ENV{'form.mode'}; my ($form,$element); - if ($mode eq 'edit') { + if ($mode eq 'edit' || $mode eq 'parmset') { $form = $ENV{'form.form'}; $element = $ENV{'form.element'}; } @@ -184,7 +184,7 @@ END # by default (ie. if $mode is undefined). This is the easy # way out. Hopefully in the future I'll find a way to get # the calls dealt with in a more comprehensive manner. - if (!defined($mode) || $mode ne 'edit') { + if (!defined($mode) || ($mode ne 'edit' && $mode ne 'parmset')) { $catalogmodefunctions=<<"END"; function select_data(title,url) { changeTitle(title); @@ -209,7 +209,7 @@ function changeURL(val) { } } END - } else { # we are in 'edit' mode + } elsif ($mode eq 'edit') { # we are in 'edit' mode $catalogmodefunctions=<