summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-05-14 20:41:06 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-05-14 20:41:06 -0400
commit568b6a7f566d652c42bad401b520eb65b7b9e8d9 (patch)
tree2a50d29393d36b5d965984d2c51a497ed9bd6ce7 /apps
parenta3b06e96584432d49c8627281d57635824cf30d1 (diff)
downloadnextcloud-server-568b6a7f566d652c42bad401b520eb65b7b9e8d9.tar.gz
nextcloud-server-568b6a7f566d652c42bad401b520eb65b7b9e8d9.zip
Make only writable files draggable
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/files.js2
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','');