[LON-CAPA-cvs] cvs: loncom /publisher londiff.pm

www lon-capa-cvs@mail.lon-capa.org
Wed, 13 Aug 2003 15:20:11 -0000


www		Wed Aug 13 11:20:11 2003 EDT

  Modified files:              
    /loncom/publisher	londiff.pm 
  Log:
  Toward Bug #551: Close window button on "diff"
  Jon Kitzman
  
  
Index: loncom/publisher/londiff.pm
diff -u loncom/publisher/londiff.pm:1.11 loncom/publisher/londiff.pm:1.12
--- loncom/publisher/londiff.pm:1.11	Mon Feb  3 13:03:53 2003
+++ loncom/publisher/londiff.pm	Wed Aug 13 11:20:11 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to show differences between file versions
 #
-# $Id: londiff.pm,v 1.11 2003/02/03 18:03:53 harris41 Exp $
+# $Id: londiff.pm,v 1.12 2003/08/13 15:20:11 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -189,7 +189,7 @@
 } else {
     $r->print('<h1><font color=red>Binary File</font></h1>');
 }
-  $r->print('</body></html>');
+  $r->print('<center><a href="javascript:window.close();">Close This Window</a></center></body></html>'); 
   return OK;  
 }