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

remotes/origin/stable
Robin Appelman 14 years ago
parent 76aceb9970
commit e3e0a28b62
  1. 2
      files/js/files.js

@ -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…
Cancel
Save