[LON-CAPA-cvs] cvs: loncom /interface loncoursedata.pm

stredwic lon-capa-cvs@mail.lon-capa.org
Thu, 15 Aug 2002 16:11:34 -0000


stredwic		Thu Aug 15 12:11:34 2002 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  fixed status display for CheckForResidualDownload
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.18 loncom/interface/loncoursedata.pm:1.19
--- loncom/interface/loncoursedata.pm:1.18	Thu Aug 15 12:03:11 2002
+++ loncom/interface/loncoursedata.pm	Thu Aug 15 12:11:34 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # (Publication Handler
 #
-# $Id: loncoursedata.pm,v 1.18 2002/08/15 16:03:11 stredwic Exp $
+# $Id: loncoursedata.pm,v 1.19 2002/08/15 16:11:34 stredwic Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -201,6 +201,7 @@
     if(!defined($WhatIWant)) {
         $WhatIWant = '.';
     }
+        $WhatIWant = '.';
     %courseData=&Apache::lonnet::dump($courseID, $domain, $name, $WhatIWant);
     $courseData{'UpToDate'} = 'false';
     $courseData{'lastDownloadTime'}=time;
@@ -1187,12 +1188,12 @@
         &Apache::lonhtmlcommon::Create_PrgWin($r, $title, $heading);
     }
 
-    my $count=1;
+    my c$ount=1;
     foreach my $name (@students) {
         last if($c->aborted());
 
         if($status eq 'true') {
-            my $displayString = $count.'/'.$studentCount.': '.$_;
+            my $displayString = $count.'/'.$studentCount.': '.$name;
             &Apache::lonhtmlcommon::Update_PrgWin($displayString, $r);
         }