--- loncom/homework/chemresponse.pm 2003/10/21 20:49:06 1.21 +++ loncom/homework/chemresponse.pm 2003/12/01 22:55:52 1.25 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # chemical equation style response # -# $Id: chemresponse.pm,v 1.21 2003/10/21 20:49:06 albertel Exp $ +# $Id: chemresponse.pm,v 1.25 2003/12/01 22:55:52 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -75,7 +75,7 @@ function openHelpWindow() {
- + You have to enable Java and JavaScript on your machine. $molecule @@ -208,7 +208,7 @@ sub start_organicstructure { my $width=&Apache::lonxml::get_param('width',$parstack,$safeeval); my $molecule=&Apache::lonxml::get_param('molecule',$parstack,$safeeval); my $options=&Apache::lonxml::get_param('options',$parstack,$safeeval); - my $id=time.'_'.int(rand(1000)); + my $id=&Apache::loncommon::get_cgi_id(); $result="