mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Monotone-Parent: 0ae9c70b160be4f5810d82d165885e7c2612bae3
Monotone-Revision: a6f3aca67e5e13f234b58d4fc16943cf2b93f609 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-27T15:16:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -204,13 +204,14 @@ function onComboButtonClick(event) {
|
||||
popupMenu(event, this.menuName, this.textInput);
|
||||
var container = $("categoryContainer");
|
||||
var menuTop = (container.cascadeTopOffset()
|
||||
+ this.textInput.offsetTop + this.textInput.clientHeight);
|
||||
- container.scrollTop
|
||||
+ this.textInput.offsetTop
|
||||
+ this.textInput.clientHeight);
|
||||
var menuLeft = this.textInput.cascadeLeftOffset() + 1;
|
||||
var minWidth = this.textInput.clientWidth;
|
||||
var width = this.textInput.clientWidth;
|
||||
menu.setStyle({ "top": menuTop + "px",
|
||||
"left": menuLeft + "px",
|
||||
"width": minWidth + "px",
|
||||
"min-width": minWidth + "px" });
|
||||
"width": width + "px" });
|
||||
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user