Skip to content
Snippets Groups Projects
Commit e3e0a28b authored by Robin Appelman's avatar Robin Appelman
Browse files

only show the revert animation of draging a file when draged to an invalid position

parent 76aceb99
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,7 @@ function formatDate(date){
//options for file drag/dropp
var dragOptions={
distance: 20, revert: true, opacity: 0.7,
distance: 20, revert: 'invalid', opacity: 0.7,
stop: function(event, ui) {
$('#fileList tr td.filename').addClass('ui-draggable');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment