mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-23 23:22:45 +00:00
Monotone-Parent: 0dbfe804b643f92bc35b93367e1c120b395685a7
Monotone-Revision: 4540f3e456a8b7129b4cc6d8a8eea6373cc23df6 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-07-31T21:14:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -8,12 +8,11 @@ function onPopupAttendeesWindow(event) {
|
||||
}
|
||||
|
||||
function onSelectPrivacy(event) {
|
||||
if (event.button == 0) {
|
||||
var node = event.target;
|
||||
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];
|
||||
|
||||
node = $(node).getParentWithTagName("a");
|
||||
node = $(node).childNodesWithTag("span")[0];
|
||||
popupToolbarMenu(node, "privacy-menu");
|
||||
Event.stop(event);
|
||||
// preventDefault(event);
|
||||
|
||||
Reference in New Issue
Block a user