--- loncom/interface/loncommon.pm 2003/10/13 22:35:05 1.128 +++ loncom/interface/loncommon.pm 2003/10/24 21:09:24 1.135 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.128 2003/10/13 22:35:05 albertel Exp $ +# $Id: loncommon.pm,v 1.135 2003/10/24 21:09:24 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -274,7 +274,7 @@ of the element the selection from the se sub browser_and_searcher_javascript { return < $Title, - $identifier.'.xlabel' => $xlabel, - $identifier.'.ylabel' => $ylabel, - $identifier.'.Max' => $Max, - $identifier.'.NumBars' => $NumBars, - $identifier.'.data1' => $data1, - $identifier.'.data2' => $data2); - return ''; + &Apache::lonnet::appenv('cgi.'.$identifier.'.title' => $Title, + 'cgi.'.$identifier.'.xlabel' => $xlabel, + 'cgi.'.$identifier.'.ylabel' => $ylabel, + 'cgi.'.$identifier.'.Max' => $Max, + 'cgi.'.$identifier.'.NumBars' => $NumBars, + 'cgi.'.$identifier.'.NumSets' => $NumSets, + 'cgi.'.$identifier.'.Colors' => join(',',@{$colors}), + %ValuesHash); + return ''; } ############################################################