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

felicia lon-capa-cvs-allow@mail.lon-capa.org
Mon, 04 Aug 2008 22:42:14 -0000


felicia		Mon Aug  4 18:42:14 2008 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  Removed insertlist from the end_startouttext definition.  This way, the text boxspans the entire length of the page like the script textbox.  The insertlist was just loading a non-breaking space anyway because there is nothing to insert inside of a text block.  A better fix may be to increase the colspan of the second row in the text block gui editor.  It still shows a colspan of 4 when it should show a colspan of 5 because of the addition of the Edit Math button.  I couldn't figure out how to fix that though.
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.425 loncom/homework/structuretags.pm:1.426
--- loncom/homework/structuretags.pm:1.425	Mon Jul 28 01:26:00 2008
+++ loncom/homework/structuretags.pm	Mon Aug  4 18:42:11 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.425 2008/07/28 05:26:00 raeburn Exp $
+# $Id: structuretags.pm,v 1.426 2008/08/04 22:42:11 felicia Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1879,10 +1879,7 @@
 	$result.=&Apache::edit::start_table($token)."<tr><td>".&mt('Text Block')."</td>
 <td>".&mt('Delete:').
                  &Apache::edit::deletelist($target,$token)
-		 ."</td>
-<td>".
-                 &Apache::edit::insertlist($target,$token).
-		 '</td>';
+		 ."</td>";
         unless ($env{'environment.wysiwygeditor'} eq 'on') {
             $result.='<td align="left">'
                      .&Apache::lonhtmlcommon::dragmath_button($areaid,1)