6.0.0-beta1
7/4/25

[#7398] Empty Portal in internet explorer
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

History
11/24/2008 09:59:48 PM Michael Slusarz Comment #12
State ⇒ Resolved
Reply to this comment
OK - found the problem.  For some reason we were using 
document.getElementsByTagName(), which doesn't work cross-browser 
properly.  We should always be using $$() instead.  Fixed.
11/22/2008 02:12:47 AM gimili17 (at) gmail (dot) com Comment #9
New Attachment: DimpBases.zip Download
Reply to this comment
I don't see this.
I see it.  I had this exact problem with internet explorer.  I made 
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.
11/20/2008 02:59:52 AM Michael Slusarz Comment #8
State ⇒ Feedback
Reply to this comment
I don't see this.
11/12/2008 04:58:03 PM Jan Schneider Comment #7
Assigned to Michael Slusarz
State ⇒ Assigned
Reply to this comment
Thanks for the detailed analysis.
11/12/2008 04:57:35 PM Jan Schneider Version ⇒ 1.1
Queue ⇒ DIMP
 
11/12/2008 03:00:04 PM emeric (dot) jhelil (at) univ-lemans (dot) fr Comment #6 Reply to this comment
Hi,



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
10/19/2008 03:52:55 PM Jan Schneider State ⇒ No Feedback
 
10/07/2008 12:52:50 PM Jan Schneider Comment #5
State ⇒ Feedback
Reply to this comment
Try the final release, report any javascript errors that you get, and 
enable the debug mode in DIMP's configuration.
10/03/2008 08:53:36 PM leandro (at) c3systems (dot) com (dot) br Comment #4 Reply to this comment
hi, discover and solved this problem...



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
09/30/2008 06:28:56 PM leandro (at) c3systems (dot) com (dot) br Comment #3 Reply to this comment
I have the same problem using IE 6 or 7 with the latest release Horde 
Groupware Webmail.
09/26/2008 11:08:07 AM marco (dot) povolo (at) gmail (dot) com Comment #2 Reply to this comment
another problem:



in firefox 2 "compose" link doesn't works in dimp.
09/26/2008 09:05:53 AM marco (dot) povolo (at) gmail (dot) com Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Empty Portal in internet explorer
Type ⇒ Bug
Queue ⇒ Horde Groupware Webmail Edition
Reply to this comment
In internet explorer the portal page is empty with a permanent "loading..."

In firefox and opera the portal page appears correctly.

Saved Queries