6.0.0-beta1
9/26/25

[#12012] dimpcore.js uses textContent which IE8 doesn't support
Summary dimpcore.js uses textContent which IE8 doesn't support
Queue IMP
Queue Version 6.0.3
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester aarno.sandvik (at) helsinki (dot) fi
Created 02/01/2013 (4620 days ago)
Due
Updated 02/01/2013 (4620 days ago)
Assigned
Resolved 02/01/2013 (4620 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
02/01/2013 11:08:14 PM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Fixed in 6.0.4 by using innerText property if textContent is not available.
02/01/2013 11:07:46 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit eea9cfb507d379cc2a73698af78fe1646145886d
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri Feb 1 16:07:20 2013 -0700

     [mms] Fix usage of textContent property on IE8 (Bug #12012).

  imp/docs/CHANGES   |    1 +
  imp/js/dimpbase.js |    1 +
  imp/js/dimpcore.js |    4 ++--
  imp/js/search.js   |    3 ++-
  imp/package.xml    |    2 ++
  5 files changed, 8 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/eea9cfb507d379cc2a73698af78fe1646145886d
02/01/2013 11:15:55 AM aarno (dot) sandvik (at) helsinki (dot) fi Comment #1
Priority ⇒ 2. Medium
New Attachment: hy_fix_setting_placeholder_in_IE8.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ dimpcore.js uses textContent which IE8 doesn't support
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
BuilAddressLinks-function in dimpcore.js uses textContent to replace 
addresslists that have more than 15 recipients with a placeholder. IE 
8 doesn't support this and users are unable to open messages that have 
more than 15 recipients. The workaround is to use nodeValue.replace 
when textContent is not supported. Patch attached.

Opening a message with over 15 recipients in IE8 causes the following error:

Message: 'textContent is null or not an object
Line: 182
Char: 17
Code: 0
URI:..../horde/imp/js/dimpcore.js

Saved Queries