--- loncom/interface/lonmeta.pm 2023/11/07 21:31:11 1.257 +++ loncom/interface/lonmeta.pm 2025/03/18 18:57:28 1.258 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Metadata display handler # -# $Id: lonmeta.pm,v 1.257 2023/11/07 21:31:11 raeburn Exp $ +# $Id: lonmeta.pm,v 1.258 2025/03/18 18:57:28 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -550,7 +550,7 @@ sub direct { } sub selectbox { - my ($name,$value,$readonly,$functionref,@idlist)=@_; + my ($name,$value,$readonly,$id,$functionref,@idlist)=@_; if (! defined($functionref)) { $functionref=\&direct; } @@ -558,7 +558,10 @@ sub selectbox { if ($readonly) { $disabled = ' disabled="disabled"'; } - my $selout=''; foreach my $id (@idlist) { $selout.='