From e9da52faac65dab4cf01d7b01ae0ada8d07ad8f8 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 15 Sep 2014 19:50:28 +0200 Subject: [PATCH] Fix strange effects on attachments drag and drop. --- app/coffee/modules/common/attachments.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/coffee/modules/common/attachments.coffee b/app/coffee/modules/common/attachments.coffee index c1e8c7c0..6107316b 100644 --- a/app/coffee/modules/common/attachments.coffee +++ b/app/coffee/modules/common/attachments.coffee @@ -207,8 +207,11 @@ AttachmentsDirective = ($confirm) -> tdom.sortable({ items: "div.single-attachment" handle: "a.settings.icon.icon-drag-v" + containment: ".attachments" + cursorAt: {right: 50} dropOnEmpty: true - axis: "y" + scroll: false + tolerance: "pointer" placeholder: "sortable-placeholder single-attachment" })