diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-05-14 20:41:06 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-05-14 20:41:06 -0400 |
commit | 568b6a7f566d652c42bad401b520eb65b7b9e8d9 (patch) | |
tree | 2a50d29393d36b5d965984d2c51a497ed9bd6ce7 /apps | |
parent | a3b06e96584432d49c8627281d57635824cf30d1 (diff) | |
download | nextcloud-server-568b6a7f566d652c42bad401b520eb65b7b9e8d9.tar.gz nextcloud-server-568b6a7f566d652c42bad401b520eb65b7b9e8d9.zip |
Make only writable files draggable
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 918fcb62ee2..35d80b3cff2 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -40,7 +40,7 @@ $(document).ready(function() { $('#file_action_panel').attr('activeAction', false); //drag/drop of files - $('#fileList tr td.filename').draggable(dragOptions); + $('#fileList tr[data-write="true"] td.filename').draggable(dragOptions); $('#fileList tr[data-type="dir"][data-write="true"] td.filename').droppable(folderDropOptions); $('div.crumb:not(.last)').droppable(crumbDropOptions); $('ul#apps>li:first-child').data('dir',''); |