--- loncom/interface/lonindexer.pm 2007/07/11 23:51:19 1.172 +++ loncom/interface/lonindexer.pm 2007/08/17 18:14:37 1.176 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.172 2007/07/11 23:51:19 albertel Exp $ +# $Id: lonindexer.pm,v 1.176 2007/08/17 18:14:37 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -106,7 +106,7 @@ sub handler { my $fileclr='#ffffe6'; my $line; - my (@attrchk,@openpath); + my (@attrchk,@openpath,$typeselect); my $uri=$r->uri; # -------------------------------------- see if called from an interactive mode @@ -135,6 +135,11 @@ sub handler { untie(%dbfile); } } +# - Evaluate actions from previous page (both cumulatively and chronologically) + if ($env{'form.catalogmode'} eq 'import' || $hash{'form.catalogmode'} eq 'import') { + &Apache::groupsort::update_actions_hash(\%hash); + } + { #Hijack lonindexer to verify a title and be close down. if ($env{'form.launch'} eq '2') { @@ -269,6 +274,9 @@ END function select_data(url) { var location = "/res/?launch=2&form=$form&element=$element&titleelement=$titleelement&acts=" + url; window.location=location; + if (window.opener.document.forms["$form"].elements["$element"].value != url) { + window.opener.unClean(); + } } function select_group() { window.location="$location"+document.forms.fileattr.acts.value; @@ -351,7 +359,10 @@ END my $js = <<"ENDHEADER";