--- loncom/interface/groupsort.pm 2003/02/03 18:03:52 1.19 +++ loncom/interface/groupsort.pm 2003/10/08 20:33:34 1.21.2.1 @@ -2,7 +2,7 @@ # The LON-CAPA group sort handler # Allows for sorting prior to import into RAT. # -# $Id: groupsort.pm,v 1.19 2003/02/03 18:03:52 harris41 Exp $ +# $Id: groupsort.pm,v 1.21.2.1 2003/10/08 20:33:34 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -67,7 +67,7 @@ sub handler { # finish_import looks different for graphical or "simple" RAT my $finishimport=''; - if ($ENV{'form.mode'} eq 'simple') { + if ($ENV{'form.mode'} eq 'simple' || $ENV{'form.mode'} eq '') { $finishimport=(<print(""); $r->print(&movers($clen,$ctr)); $r->print(&hidden($ctr-1,$thash{$key},$key)); $r->print(""); $r->print(&select_box($clen,$ctr)); $r->print(""); - $r->print(""); + $r->print(""); $r->print(""); $r->print("$thash{$key}\n"); $r->print("$key\n");