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

tempelho tempelho@source.lon-capa.org
Sat, 19 Sep 2009 11:01:44 -0000


tempelho		Sat Sep 19 11:01:44 2009 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  The old button for uploading a document is recovered now.
  Closed Bug 6002.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.385 loncom/interface/londocs.pm:1.386
--- loncom/interface/londocs.pm:1.385	Wed Sep  2 16:24:28 2009
+++ loncom/interface/londocs.pm	Sat Sep 19 11:01:44 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.385 2009/09/02 16:24:28 bisitz Exp $
+# $Id: londocs.pm,v 1.386 2009/09/19 11:01:44 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2900,7 +2900,7 @@
 CHBO
 
         my @fileuploada = (
-        { pic01 => "<a onclick='document.uploaddocument.submit()'>$lt{'upld'}</a> $help{'Uploading_From_Harddrive'}" },
+        { pic01 => "<input type='submit' value='".$lt{'upld'}."' /> $help{'Uploading_From_Harddrive'}" },
         );
 	my $fileuploadform=(<<FUFORM);
 	<form name="uploaddocument" action="/adm/coursedocs" method="post" enctype="multipart/form-data">