Summary | Empty Portal in internet explorer |
Queue | DIMP |
Queue Version | 1.1 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | marco.povolo (at) gmail (dot) com |
Created | 09/26/2008 (6125 days ago) |
Due | |
Updated | 11/24/2008 (6066 days ago) |
Assigned | 11/20/2008 (6070 days ago) |
Resolved | 11/24/2008 (6066 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
document.getElementsByTagName(), which doesn't work cross-browser
properly. We should always be using $$() instead. Fixed.
http://cvs.horde.org/diff.php/dimp/docs/CHANGES?r1=1.69.2.60&r2=1.69.2.61&ty=u
http://cvs.horde.org/diff.php/dimp/js/DimpBase.js?r1=1.1.2.109&r2=1.1.2.110&ty=u
http://cvs.horde.org/diff.php/dimp/js/src/DimpBase.js?r1=1.1.2.109&r2=1.1.2.110&ty=u
http://cvs.horde.org/diff.php/dimp/docs/CHANGES?r1=1.136&r2=1.137&ty=u
http://cvs.horde.org/diff.php/dimp/js/DimpBase.js?r1=1.175&r2=1.176&ty=u
http://cvs.horde.org/diff.php/dimp/js/src/DimpBase.js?r1=1.173&r2=1.174&ty=u
New Attachment: DimpBases.zip
the v.3 changes suggested by Emeric and that corrected the problem. I
attached the two modified files with DimpBase.js.1 being the one from
the js folder and DimpBase.js.2 being the one from the src folder.
Seems to work for me. Thanks Emeric.
State ⇒ Feedback
Assigned to Michael Slusarz
State ⇒ Assigned
Queue ⇒ DIMP
I met this "Loading..." page too in IE7 (7.0.5730.11, 7.0.5730.13) and IE6..
The javascript message was : "doActionComplete callback:
TypeError-Object does not support this property or method".
I'm working with horde-webmail-1.2
Thanks to Leandro who discovered the line in DimpBase.js, I think I
can suggest another solution.
According to prototypejs.org "Tips and tutorial" pages
(http://www.prototypejs.org/learn/extensions), in the lasts
paragraphs, it seems that "IE (...) doesn't let anyone touch
HTMLElement.prototype" which is extended by prototype.js
This seems to explain the correct javascript message error about the
non-support of the function insert by the HTMLElement
head in the function _portalCallback of DimpBase.js
So, according to the script base for DIMP (dimp/js or dimp/js/src), we could :
1) File target : dimp/js/src/DimpBase.js (packaged version in
horde-webmail-1.2 : v 1.1.2.106)
Function target : _portalCallback
Coding line : 1043
Original code :
head.insert(link);
New code (v1) :
Element.extend(head);
head.insert(link);
New code (v2) :
$(head).insert(link);
New code (v3) :
Element.insert(head, link);
2) File target : dimp/js/DimpBase.js
Function target : _portalCallback
Coding line : there is only one long long line
Original code :
A.insert(D)
New code (v1) :
Element.extend(A);A.insert(D);
New code (v2) :
$(A).insert(D)
New code (v3) :
Element.insert(A,D)
All have been successfully tested on Firefox 2.0.0.17, IE7, Safari for
windows v3.1.2, the main portal page loads without any problem.
Hope it helps.
By the way, thanks to the horde team for their great work !
Emeric
State ⇒ Feedback
enable the debug mode in DIMP's configuration.
add in your horde/config/registry.php
$this->applications['dimp'] = array(
'fileroot' => dirname(__FILE__) . '/../dimp',
'webroot' => $this->applications['horde']['webroot'] . '/dimp',
'jsuri' => $this->applications['horde']['webroot'] . '/dimp/js/src',
'name' => _("Dynamic Mail"),
'status' => 'notoolbar',
);
comment your dimp/js/src/ DimpBase.js in line 1101 (head.insert
(link))... that the problem is resolved.
Leandro
Groupware Webmail.
in firefox 2 "compose" link doesn't works in dimp.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Empty Portal in internet explorer
Type ⇒ Bug
Queue ⇒ Horde Groupware Webmail Edition
In firefox and opera the portal page appears correctly.