--- loncom/interface/lonindexer.pm 2007/07/18 13:39:31 1.173 +++ loncom/interface/lonindexer.pm 2010/03/31 00:41:44 1.181.4.5 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.173 2007/07/18 13:39:31 banghart Exp $ +# $Id: lonindexer.pm,v 1.181.4.5 2010/03/31 00:41:44 raeburn 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') { @@ -178,7 +183,7 @@ ENDSUBM $colspan=" colspan='2' "; my $cl=&mt('Close'); $closebutton=< + END } elsif ($env{'form.catalogmode'} eq 'import') { @@ -189,11 +194,11 @@ END my $cl=&mt('Close'); my $gi=&mt('Import'); $closebutton=< + END $groupimportbutton=< +onclick="javascript:select_group()" /> END } # Additions made by Matthew to make the browser a little easier to deal @@ -354,7 +359,10 @@ END my $js = <<"ENDHEADER";