6.0.0-beta1
7/9/25

[#9912] HTML inline display doesn't work in IE7
Summary HTML inline display doesn't work in IE7
Queue IMP
Queue Version 5.0
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester jacob-horde (at) vindvejr (dot) dk
Created 04/14/2011 (5200 days ago)
Due
Updated 04/14/2011 (5200 days ago)
Assigned
Resolved 04/14/2011 (5200 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/14/2011 10:30:24 PM Michael Slusarz Comment #5 Reply to this comment
It still works here, however, it seems that "Show Images" is broken 
now. Can you verify this?
This was already fixed.
04/14/2011 08:13:14 PM jacob-horde (at) vindvejr (dot) dk Comment #4 Reply to this comment
Thanks for the fix! I will test it in IE7 first thing in the morning. 
For now I've applied the changes mentioned in this ticket manually and 
tested it in Firefox 4.0 and Chrome 10.0.648.205. It still works here, 
however, it seems that "Show Images" is broken now. Can you verify this?
04/14/2011 05:08:27 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
04/14/2011 05:08:08 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9912: Fix loading of IMP.* js functions in IE 7
Due to IE 7's inane loading order, it is possible that
IMP.iframeInject() is not available when called.  Instead, refactor
imp.js to store the helper functions in IMP_JS instead of contorting the
code to force this code into the IMP namespace (IMP can't be used until
after javascript_defs.php is loaded, since it is overwritten in there).

  8 files changed, 79 insertions(+), 71 deletions(-)
http://git.horde.org/horde-git/-/commit/7bfe6a678409e6046b138c42e61276eb4351e868
04/14/2011 11:59:41 AM jacob-horde (at) vindvejr (dot) dk Comment #2
New Attachment: ie7-js-error.png Download
Reply to this comment
The JavaScript error (unfortunately in Danish, I'm only using IE7 at 
work) - it goes something like:

Line 12
Char: 142
Error: Object doesn't support this property or method
Code: 0
URL address: 
https://<site>/horde/imp/message.php?mailbox=INBOX.Nyhedsbreve.ComON&uid=3395
04/14/2011 11:56:42 AM jacob-horde (at) vindvejr (dot) dk Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ HTML inline display doesn't work in IE7
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
New Attachment: ie7-loading.png Download
State ⇒ Unconfirmed
Reply to this comment
I have just upgraded from Horde 3.3 to 4.0. I did a fresh install,
reconfigured everything and let Horde upgrade the DB schemas.

In the new version of IMP the HTML viewer doesn't work in IE7. It 
works correctly in the other modern browsers I've tried. Is this 
intentional (dropped support) or a bug that could be fixed?

# cat /var/www/secure/horde4/imp/config/mime_drivers.local.php
<?php
$mime_drivers['html']['inline'] = true;
?>

Screenshot attached. I'll also add the JavaScript error.

Saved Queries