mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-08 06:48:51 +00:00
Monotone-Parent: 0fe27b5739f7397e525075ec4060c837ba896b62
Monotone-Revision: 6ec3d89faf4dd3116bfe7668a1494fb12b8c024f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T23:11:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -37,14 +37,14 @@ HTMLTableElement.prototype.workAroundDragGesture = function() {
|
||||
|
||||
HTMLTableElement.prototype._dragGestureMouseDownHandler = function(event) {
|
||||
this.addEventListener("mousemove", this._dragGestureMouseMoveHandler, false);
|
||||
this.addEventListener("mousedown", this._dragGestureMouseUpHandler, false);
|
||||
this.addEventListener("mouseup", this._dragGestureMouseUpHandler, false);
|
||||
this._dragGestureStartPoint = new Array(event.clientX, event.clientY);
|
||||
this._dragGestureTarget = event.target;
|
||||
}
|
||||
|
||||
HTMLTableElement.prototype._dragGestureMouseUpHandler = function(event) {
|
||||
this.removeEventListener("mousemove", this._dragGestureMouseMoveHandler, false);
|
||||
this.removeEventListener("mousedown", this._dragGestureMouseUpHandler, false);
|
||||
this.removeEventListener("mouseup", this._dragGestureMouseUpHandler, false);
|
||||
this._dragGestureStartPoint = null;
|
||||
}
|
||||
|
||||
|
||||
@@ -339,6 +339,11 @@ function uixDeleteSelectedMessages(sender) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function onMenuDeleteMessage(event) {
|
||||
uixDeleteSelectedMessages();
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function onMailboxTreeItemClick(element)
|
||||
{
|
||||
var topNode = $('d');
|
||||
@@ -871,7 +876,7 @@ function refreshContacts() {
|
||||
var initMailer = {
|
||||
handleEvent: function (event) {
|
||||
configureMessageListEvents();
|
||||
// initDnd();
|
||||
initDnd();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user