From f5c477174aa4acfae7b0b419520e3ab98dc80ed1 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 30 Oct 2014 09:54:29 +0000 Subject: [PATCH] Get compose email d-n-d working peacfully with taglist doubleclick item modification --- mail/js/app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mail/js/app.js b/mail/js/app.js index e97b83b13f..a637ce2474 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -3946,7 +3946,7 @@ app.classes.mail = AppJS.extend( cursor:'move', cursorAt:{left:2}, //cancel dragging on close button to avoid conflict with close action - cancel:'.ms-close-btn, .ms-edit-btn', + cancel:'.ms-close-btn', /** * function to act on draggable item on revert's event * @returns {Boolean} return true @@ -3981,7 +3981,8 @@ app.classes.mail = AppJS.extend( { jQuery(this).css('css','move'); } - }); + }).draggable('disable'); + setTimeout(function(){dragItem.draggable('enable');},400) }, /**