mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 18:35:25 +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:
@@ -1,3 +1,9 @@
|
||||
2010-07-27 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/SOGoAutoCompletion.js
|
||||
(performSearchCallback): minor change on when the popup menu has
|
||||
to be positioned differently.
|
||||
|
||||
2010-07-22 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* Added Migration/Horde/* - scripts used to migrate
|
||||
|
||||
@@ -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