mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-05 19:45:26 +00:00
Monotone-Parent: 3d8272cfb7a360effb353f8ed683e96af4d60e6e
Monotone-Revision: 2062a8955d0e8ef69c5b26a75a2f3aeaacd8142e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-05T15:06:49 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -278,9 +278,10 @@ function onTextContextMenu(event) {
|
||||
}
|
||||
|
||||
function onTextMouseDown(event) {
|
||||
log("coucou 1");
|
||||
event.returnValue = false;
|
||||
event.cancelBubble = false;
|
||||
if (event.button == 0) {
|
||||
event.returnValue = false;
|
||||
event.cancelBubble = false;
|
||||
}
|
||||
}
|
||||
|
||||
function initMailEditor() {
|
||||
@@ -307,8 +308,8 @@ function initMailEditor() {
|
||||
textarea.scrollTop = textarea.scrollHeight;
|
||||
textarea.observe("focus", onTextFirstFocus);
|
||||
textarea.observe("focus", onTextFocus);
|
||||
textarea.observe("contextmenu", onTextContextMenu);
|
||||
textarea.observe("mousedown", onTextMouseDown);
|
||||
// textarea.observe("contextmenu", onTextContextMenu);
|
||||
textarea.observe("mousedown", onTextMouseDown, true);
|
||||
|
||||
onWindowResize(null);
|
||||
Event.observe(window, "resize", onWindowResize);
|
||||
|
||||
Reference in New Issue
Block a user