Fix strange effects on attachments drag and drop.

stable
Andrey Antukh 2014-09-15 19:50:28 +02:00
parent 7d410fbaad
commit e9da52faac
1 changed files with 4 additions and 1 deletions

View File

@ -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"
})