[dev] HTML Compose bug in MSIE...

Marc Jauvin marc at register4less.com
Fri Feb 13 13:06:35 PST 2004


This patch solves a bug with the HTML compose in MSIE.

Please, commit.

--
Marc Jauvin
http://register4less.com
450-441-5458
-------------- next part --------------
Index: compose.inc
===================================================================
RCS file: /repository/imp/templates/compose/compose.inc,v
retrieving revision 2.266
diff -u -r2.266 compose.inc
--- compose.inc 11 Feb 2004 17:42:41 -0000      2.266
+++ compose.inc 13 Feb 2004 21:04:50 -0000
@@ -425,7 +425,7 @@
   <tr>
     <td class="light" align="right" valign="top"><b><?php echo Horde::label('message', _("Text")) ?>&nbsp;</b></td>
     <td class="item">
-      <textarea class="composebody" tabindex="<?php echo $tabindex++ ?>" name="message" id="message" rows="20" cols="<?php echo $prefs->getValue('wrap_width') ?>"<?php if ($GLOBALS['browser']->isBrowser('msie') && (!isset($_POST['rtemode']) || ($_POST['rtemode'] != 2))) { echo ' wrap="hard"'; } ?>><?php echo htmlspecialchars($msg) ?></textarea>
+      <textarea class="composebody" tabindex="<?php echo $tabindex++ ?>" name="message" id="message" rows="20" cols="<?php echo $prefs->getValue('wrap_width') ?>"><?php echo htmlspecialchars($msg) ?></textarea>
     </td>
   </tr>


More information about the dev mailing list