diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-07 22:18:35 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-08 19:52:51 +0200 |
commit | e3e0a28b62dff84cee4ab76af38886cbb1ab846a (patch) | |
tree | 2a600b98f33b063d095c003f5ad0103756b68845 /files | |
parent | 76aceb99709ac594a1e736b913de7e916650631c (diff) | |
download | nextcloud-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.js | 2 |
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'); } |