--- loncom/interface/lonhelper.pm 2004/03/08 17:31:37 1.65 +++ loncom/interface/lonhelper.pm 2004/03/24 22:22:04 1.66 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # .helper XML handler to implement the LON-CAPA helper # -# $Id: lonhelper.pm,v 1.65 2004/03/08 17:31:37 www Exp $ +# $Id: lonhelper.pm,v 1.66 2004/03/24 22:22:04 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1777,6 +1777,7 @@ sub start_resource { $paramHash->{'suppressEmptySequences'} = $token->[2]{'suppressEmptySequences'}; $paramHash->{'toponly'} = $token->[2]{'toponly'}; $paramHash->{'addstatus'} = $token->[2]{'addstatus'}; + $paramHash->{'closeallpages'} = $token->[2]{'closeallpages'}; return ''; } @@ -1962,6 +1963,7 @@ BUTTONS 'showParts' => 0, 'filterFunc' => $filterFunc, 'resource_no_folder_link' => 1, + 'closeAllPages' => $self->{'closeallpages'}, 'suppressEmptySequences' => $self->{'suppressEmptySequences'}, 'iterator_map' => $mapUrl } );