[Tickets #7074] Re: address suggestion popup becomes unusable as you add more recipients
bugs at horde.org
bugs at horde.org
Wed Aug 20 16:23:48 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7074
------------------------------------------------------------------------------
Ticket | 7074
Updated By | mark.manning at nexussafe.com
Summary | address suggestion popup becomes unusable as you add
| more recipients
Queue | IMP
Version | 4.2
Type | Bug
State | Stalled
Priority | 2. Medium
Milestone |
Patch |
Owners | Horde Developers, Michael Slusarz
------------------------------------------------------------------------------
mark.manning at nexussafe.com (2008-08-20 12:23) wrote:
We worked around the problem by adding code in the fixIEOverlapping
function in imp/js/controls.js to calculate the proper absolute
position for the autocompletion div. This file has been stripped and
renamed to autocomplete.js (as well as other changes to other files
for other fixes) which is why we didn't submit this for use. Anyway,
here's the code if it's useful:
fixIEOverlapping: function() {
Position.clone(this.update, this.iefix,
{setTop:(!this.update.style.height)});
this.iefix.style.zIndex = 1;
this.update.style.zIndex = 2;
//*** BEGIN Change ***
// Need to set the left position bceause IE shifts it to the left
for each added address
var e = document.getElementById('to');
var n = e.offsetLeft;
var p = e.offsetParent;
while(p&&p.tagName!='BODY')
{
n+=p.offsetLeft;
p=p.offsetParent;
}
this.update.style.left = n;
//*** END Change ***
Element.show(this.iefix);
}
Not elegant but it does work. Sounds like the problem will go away in
the near future anyway.
More information about the bugs
mailing list