Monotone-Parent: 437fac2430280df37d483569496666d9d69454cd

Monotone-Revision: e433ae535cede58cecc04ea6e4733015deeea548

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-11-16T19:38:49
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-11-16 19:38:49 +00:00
parent dd5d07c5fb
commit 15218ac087
6 changed files with 106 additions and 50 deletions

View File

@@ -10,9 +10,8 @@ function onPopupAttendeesWindow(event) {
function onSelectPrivacy(event) {
if (event.button == 0 || (isSafari() && event.button == 1)) {
var node = getTarget(event);
if (node.tagName != 'A')
node = $(node).getParentWithTagName("a");
node = $(node).childNodesWithTag("span")[0];
if (node.tagName != 'BUTTON')
node = $(node).up("button");
popupToolbarMenu(node, "privacy-menu");
Event.stop(event);
// preventDefault(event);