6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/6/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#692] HTMLArea cannot find the correct TEXTAREA
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___.. . ..__ |_/ | | \ /[__) | \ | |___ \/ [__)
Comment
> Quite right, how careless of me (plugins). > > > > imp/templates/compose/compose.inc has the <input name="message"> when > spelling is turned on. This breaks HTML compose in IE. > > > > Here's another workaround suggestion: find the exact TEXTAREA with > the ID we want. > > > > cvs diff -u -r HEAD framework/Editor/Editor/htmlarea.php > > Index: framework/Editor/Editor/htmlarea.php > > =================================================================== > > RCS file: /repository/framework/Editor/Editor/htmlarea.php,v > > retrieving revision 1.21 > > diff -u -r1.21 htmlarea.php > > --- framework/Editor/Editor/htmlarea.php 6 Sep 2004 15:01:28 > -0000 1.21 > > +++ framework/Editor/Editor/htmlarea.php 14 Oct 2004 11:03:51 -0000 > > @@ -55,7 +55,13 @@ > > 'config.hideSomeButtons(" showhelp "); '; > > > > if (isset($params['id'])) { > > - $js .= 'var textareas = [document.getElementById("' . > $params['id'] . '")]; '; > > + $js .= 'var alltextareas = > document.getElementsByTagName("textarea"); ' . > > + 'var textarea = null; ' . > > + 'for (tai = 0; tai < alltextareas.length; tai++) { ' . > > + ' textarea = alltextareas[tai]; ' . > > + ' if (textarea.id == "' . $params['id'] . '") > break; ' . > > + '} ' . > > + 'var textareas = [textarea]; '; > > } else { > > $js .= 'var textareas = > document.getElementsByTagName("textarea"); '; > > } > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers