summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-07 22:18:35 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-08 19:52:51 +0200
commite3e0a28b62dff84cee4ab76af38886cbb1ab846a (patch)
tree2a600b98f33b063d095c003f5ad0103756b68845 /files
parent76aceb99709ac594a1e736b913de7e916650631c (diff)
downloadnextcloud-server-e3e0a28b62dff84cee4ab76af38886cbb1ab846a.tar.gz
nextcloud-server-e3e0a28b62dff84cee4ab76af38886cbb1ab846a.zip
only show the revert animation of draging a file when draged to an invalid position
Diffstat (limited to 'files')
-rw-r--r--files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/files.js b/files/js/files.js
index 431b49131ce..19ce99a9bfb 100644
--- a/files/js/files.js
+++ b/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');
}