Fix strange effects on attachments drag and drop.
parent
7d410fbaad
commit
e9da52faac
|
@ -207,8 +207,11 @@ AttachmentsDirective = ($confirm) ->
|
||||||
tdom.sortable({
|
tdom.sortable({
|
||||||
items: "div.single-attachment"
|
items: "div.single-attachment"
|
||||||
handle: "a.settings.icon.icon-drag-v"
|
handle: "a.settings.icon.icon-drag-v"
|
||||||
|
containment: ".attachments"
|
||||||
|
cursorAt: {right: 50}
|
||||||
dropOnEmpty: true
|
dropOnEmpty: true
|
||||||
axis: "y"
|
scroll: false
|
||||||
|
tolerance: "pointer"
|
||||||
placeholder: "sortable-placeholder single-attachment"
|
placeholder: "sortable-placeholder single-attachment"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue