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

This commit is contained in:
Robin Appelman 2011-07-07 22:18:35 +02:00
parent 76aceb9970
commit e3e0a28b62
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}