--- loncom/xml/londefdef.pm 2003/01/16 02:55:05 1.107 +++ loncom/xml/londefdef.pm 2003/01/30 23:30:24 1.108 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.107 2003/01/16 02:55:05 albertel Exp $ +# $Id: londefdef.pm,v 1.108 2003/01/30 23:30:24 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -353,7 +353,7 @@ sub start_html { delete($token->[2]->{$key}); } } - $token->[2]->{'onLoad'}=&Apache::lonxml::loadevents(). + $token->[2]->{'onload'}=&Apache::lonxml::loadevents(). ';'.$onLoad; my $onUnload=''; foreach my $key (keys(%{$token->[2]})) { @@ -362,7 +362,7 @@ sub start_html { delete($token->[2]->{$key}); } } - $token->[2]->{'onUnload'}=&Apache::lonxml::unloadevents(). + $token->[2]->{'onunload'}=&Apache::lonxml::unloadevents(). ';'.$onUnload; $currentstring .= '<'.$token->[1];