[Tickets #7398] Re: Empty Portal in internet explorer

bugs at horde.org bugs at horde.org
Wed Nov 12 15:01:04 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7398
------------------------------------------------------------------------------
  Ticket             | 7398
  Updated By         | emeric.jhelil at univ-lemans.fr
  Summary            | Empty Portal in internet explorer
  Queue              | Horde Groupware Webmail Edition
  Version            | 1.2-RC1
  Type               | Bug
  State              | No Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


emeric.jhelil at univ-lemans.fr (2008-11-12 10:00) wrote:

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





More information about the bugs mailing list