only show the revert animation of draging a file when draged to an invalid position
This commit is contained in:
parent
76aceb9970
commit
e3e0a28b62
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue