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:
Wolfgang Sourdeau
2010-10-27 15:16:20 +00:00
parent a5f289207a
commit 986744c41e
2 changed files with 11 additions and 4 deletions
+5 -4
View File
@@ -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();
}