--- loncom/homework/drawimage.pm 2024/04/09 20:01:31 1.14 +++ loncom/homework/drawimage.pm 2024/08/06 00:41:33 1.14.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # programatic image drawing # -# $Id: drawimage.pm,v 1.14 2024/04/09 20:01:31 raeburn Exp $ +# $Id: drawimage.pm,v 1.14.2.1 2024/08/06 00:41:33 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -460,8 +460,8 @@ sub start_image { my $only = join(',',&Apache::loncommon::filecategorytypes('Pictures')); $result=&Apache::edit::tag_start($target,$token,'Background Image'). &Apache::edit::editline($token->[1],$bgimg,'Image Source File',40). - &Apache::edit::browse_or_search(undef,'textnode',undef,$only,undef,1). - '
'. + &Apache::edit::browse(undef,'textnode',undef,$only).' '. + &Apache::edit::search(undef,'textnode').'
'. &Apache::edit::text_arg('x:','x',$token,6). &Apache::edit::text_arg('y:','y',$token,6). &Apache::edit::text_arg('clipx:','clipx',$token,6).