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

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 07 Mar 2007 16:03:08 -0000


raeburn		Wed Mar  7 11:03:08 2007 EDT

  Modified files:              
    /loncom/interface/spreadsheet	lonspreadsheet.pm 
  Log:
  Close the document stream when writing is finished.
  
  
Index: loncom/interface/spreadsheet/lonspreadsheet.pm
diff -u loncom/interface/spreadsheet/lonspreadsheet.pm:1.49 loncom/interface/spreadsheet/lonspreadsheet.pm:1.50
--- loncom/interface/spreadsheet/lonspreadsheet.pm:1.49	Tue Oct 31 13:35:51 2006
+++ loncom/interface/spreadsheet/lonspreadsheet.pm	Wed Mar  7 11:03:07 2007
@@ -1,5 +1,5 @@
 #
-# $Id: lonspreadsheet.pm,v 1.49 2006/10/31 18:35:51 albertel Exp $
+# $Id: lonspreadsheet.pm,v 1.50 2007/03/07 16:03:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -383,6 +383,7 @@
 
         editwin = window.open($nothing,'CellEditWin','height=280,width=480,scrollbars=no,resizable=yes,alwaysRaised=yes,dependent=yes',true);
         editwin.document.write(edit_text);
+        editwin.document.close();
     }
 //-->
 </script>