Get compose email d-n-d working peacfully with taglist doubleclick item modification

This commit is contained in:
Hadi Nategh 2014-10-30 09:54:29 +00:00
parent 0429580f71
commit f5c477174a

View File

@ -3946,7 +3946,7 @@ app.classes.mail = AppJS.extend(
cursor:'move', cursor:'move',
cursorAt:{left:2}, cursorAt:{left:2},
//cancel dragging on close button to avoid conflict with close action //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 * function to act on draggable item on revert's event
* @returns {Boolean} return true * @returns {Boolean} return true
@ -3981,7 +3981,8 @@ app.classes.mail = AppJS.extend(
{ {
jQuery(this).css('css','move'); jQuery(this).css('css','move');
} }
}); }).draggable('disable');
setTimeout(function(){dragItem.draggable('enable');},400)
}, },
/** /**