diff --git a/ChangeLog b/ChangeLog index 6643b0761..a49c9f952 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-08-18 Francis Lachapelle + + * UI/WebServerResources/UIxContactEditor.js + (regenerateCategoriesMenu): register the onMenuClickHandler + function on the mouse down event instead of the click event, since + the contextual menu is hidden on the mouse down event. This fixes + the bug where a predefined category could never be selected from + the combo box. + 2011-08-15 Wolfgang Sourdeau * OpenChange/MAPIStoreMailFolder.m diff --git a/UI/WebServerResources/UIxContactEditor.js b/UI/WebServerResources/UIxContactEditor.js index 4b0d49a11..cca21ac5e 100644 --- a/UI/WebServerResources/UIxContactEditor.js +++ b/UI/WebServerResources/UIxContactEditor.js @@ -243,7 +243,7 @@ function regenerateCategoriesMenu() { var entry = createElement("li"); entry.label = label; entry.menuCallback = onCategoryMenuEntryClick; - entry.observe("click", onMenuClickHandler); + entry.on("mousedown", onMenuClickHandler); entry.appendChild(document.createTextNode(label)); list.appendChild(entry); }