mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +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:
@@ -1,3 +1,9 @@
|
||||
2010-10-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/UIxContactEditor.js: (onComboButtonClick):
|
||||
take the container's scrollTop into account when displaying the
|
||||
combobox menu.
|
||||
|
||||
2010-10-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoContactSourceFolder.m
|
||||
|
||||
@@ -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