mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-22 21:39:28 +00:00
See ChangeLog.
Monotone-Parent: fe351629b595bd5c5cd4b03a129c97d14d342fc7 Monotone-Revision: 00dd99d5ee953d6a729360790b3e5b7242027da2 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-07-27T19:24:40 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -192,12 +192,11 @@ var SOGoAutoCompletionInterface = {
|
||||
}
|
||||
|
||||
// Show popup menu
|
||||
var div = Element.up(input, 'DIV');
|
||||
var offsetScroll = Element.cumulativeScrollOffset(input);
|
||||
var offset = Element.positionedOffset(input);
|
||||
if (div.getStyle('position') == 'relative')
|
||||
// Hack for some situations where the offset must be computed differently
|
||||
offset = Element.cumulativeOffset(input);
|
||||
if ($(document.body).hasClassName("popup") && typeof initPopupMailer == 'undefined')
|
||||
// Hack for some situations where the offset must be computed differently
|
||||
offset = Element.cumulativeOffset(input);
|
||||
var top = offset.top - offsetScroll.top + node.offsetHeight + 3;
|
||||
var height = 'auto';
|
||||
var heightDiff = window.height() - offset[1];
|
||||
|
||||
Reference in New Issue
Block a user