--- loncom/xml/lonplot.pm 2004/08/30 15:23:23 1.101 +++ loncom/xml/lonplot.pm 2004/09/09 19:48:21 1.102 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.101 2004/08/30 15:23:23 matthew Exp $ +# $Id: lonplot.pm,v 1.102 2004/09/09 19:48:21 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1234,10 +1234,10 @@ sub edit_attributes { ($description,$attr,$token, $defaults->{$attr}->{'size'}); } elsif ($defaults->{$attr}->{'edit_type'} eq 'choice') { - $result .= &Apache::edit::select_arg + $result .= &Apache::edit::select_or_text_arg ($description,$attr,$defaults->{$attr}->{'choices'},$token); } elsif ($defaults->{$attr}->{'edit_type'} eq 'onoff') { - $result .= &Apache::edit::select_arg + $result .= &Apache::edit::select_or_text_arg ($description,$attr,['on','off'],$token); } $result .= '
';