[LON-CAPA-cvs] cvs: loncom(version_1_0_2) /interface groupsort.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 08 Oct 2003 20:33:34 -0000


albertel		Wed Oct  8 16:33:34 2003 EDT

  Modified files:              (Branch: version_1_0_2)
    /loncom/interface	groupsort.pm 
  Log:
  - backport 1.24
  
  
Index: loncom/interface/groupsort.pm
diff -u loncom/interface/groupsort.pm:1.21 loncom/interface/groupsort.pm:1.21.2.1
--- loncom/interface/groupsort.pm:1.21	Fri Jun 13 20:15:01 2003
+++ loncom/interface/groupsort.pm	Wed Oct  8 16:33:34 2003
@@ -2,7 +2,7 @@
 # The LON-CAPA group sort handler
 # Allows for sorting prior to import into RAT.
 #
-# $Id: groupsort.pm,v 1.21 2003/06/14 00:15:01 albertel 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 @@
 
 # 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=(<<ENDSMP);
 function finish_import() {
     opener.document.forms.simpleedit.importdetail.value='';