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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 30 Aug 2005 15:36:08 -0000


albertel		Tue Aug 30 11:36:08 2005 EDT

  Modified files:              
    /loncom/homework	edit.pm 
  Log:
  - BUG#4163, IE inserts were being flushed right (the div align="right
  " was bleeding through for some stupid resaon)
  
  
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.93 loncom/homework/edit.pm:1.94
--- loncom/homework/edit.pm:1.93	Mon Jun  6 21:33:19 2005
+++ loncom/homework/edit.pm	Tue Aug 30 11:36:07 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.93 2005/06/07 01:33:19 albertel Exp $
+# $Id: edit.pm,v 1.94 2005/08/30 15:36:07 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -109,7 +109,7 @@
 sub end_table {
     $Apache::edit::colordepth--;
     my $result='</table></div>';
-    $result.="<table><tr><td>";
+    $result.='<div align="left"><table><tr><td>';
 
     my ($tagname,$closingtag);
     if (defined($Apache::edit::inserttag[-2])) {
@@ -119,7 +119,7 @@
 	$closingtag=$Apache::edit::inserttag[-1];
     }
     $result.=&innerinsertlist('edit',$tagname,$closingtag).
-	"</td></tr></table>";
+	"</td></tr></table></div>";
     pop(@Apache::edit::inserttag);
     return $result;
 }