[LON-CAPA-cvs] cvs: loncom /cgi imagechoice.pl /homework edit.pm imageresponse.pm randomlabel.pm

Guy Albertelli II guy@albertelli.com
Tue, 6 May 2003 10:55:46 -0400 (EDT)


Hi Gerd,

>   Fix Browse and Search to target id_curdepth instead of curdepth.id (???)
>   in attribute mode.

Please don't generate these by hand anymore please use

&Apache::edit::html_element_name($prefix);

There are multiple examples in edit.pm.

Change:
        $element =&Apache::lonnet::escape("$id\_$Apache::lonxml::curdepth");

To:
        $element =&Apache::lonnet::escape(&Apache::edit::html_element_name($id));


-- 
guy@albertelli.com  LON-CAPA Developer  0-7-6-9-