Monotone-Parent: e662bdb4c427280bc776285f21da6aeb6bb17ddf

Monotone-Revision: ff9ecdad5c2aaadfaee83c65c66e64abcf91ccac

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-10-26T15:54:44
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2007-10-26 15:54:44 +00:00
parent 9dedbb0c7d
commit e454587e2a

View file

@ -716,11 +716,12 @@ function configureLinksInMessage() {
} }
else else
Event.observe(anchors[i], "click", Event.observe(anchors[i], "click",
onMessageAnchorClick); onMessageAnchorClick.bindAsEventListener(anchors[i]));
var editDraftButton = $("editDraftButton"); var editDraftButton = $("editDraftButton");
if (editDraftButton) if (editDraftButton)
Event.observe(editDraftButton, "click", onMessageEditDraft); Event.observe(editDraftButton, "click",
onMessageEditDraft.bindAsEventListener(editDraftButton));
} }
function resizeMailContent() { function resizeMailContent() {
@ -742,7 +743,7 @@ function onEmailAddressClick(event) {
popupMenu(event, 'addressMenu', this); popupMenu(event, 'addressMenu', this);
} }
function onMessageAnchorClick (event) { function onMessageAnchorClick(event) {
window.open(this.href); window.open(this.href);
preventDefault(event); preventDefault(event);
} }