[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 14 Sep 2005 21:03:49 -0000


albertel		Wed Sep 14 17:03:49 2005 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - cleanup the file links
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.47 loncom/homework/bridgetask.pm:1.48
--- loncom/homework/bridgetask.pm:1.47	Wed Sep 14 14:25:40 2005
+++ loncom/homework/bridgetask.pm	Wed Sep 14 17:03:48 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.47 2005/09/14 18:25:40 albertel Exp $
+# $Id: bridgetask.pm,v 1.48 2005/09/14 21:03:48 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1053,9 +1053,9 @@
 		foreach my $partial_file (split(',',$Apache::lonhomework::history{"resource.$version.0.bridgetask.portfiles"})) {
 		    my $file=$file_url.$partial_file;
 		    &Apache::lonnet::allowuploaded('/adm/bridgetask',$file);
-		    $result.='<a href="'.$file.'" target="lonGRDs"><img src="'.
+		    $result.='<nobr><a href="'.$file.'" target="lonGRDs"><img src="'.
 			&Apache::loncommon::icon($file).'" border=0"> '.$file.
-			'</a>';
+			'</a></nobr> ';
 		}
 		$result.='</td></tr>';
 		$last_link=$link;