summaryrefslogtreecommitdiffstats
path: root/files/js
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-01-02 18:08:20 +0000
committerTom Needham <needham.thomas@gmail.com>2012-01-02 18:08:20 +0000
commitebe3ae58cffa8c16ef2b1b74c5b7a9228a5495ff (patch)
treec5db4cbd6d27483c03e295d273dbab21bc6eda03 /files/js
parent0730077840a82a67a491780257089dfe7c7f64e2 (diff)
downloadnextcloud-server-ebe3ae58cffa8c16ef2b1b74c5b7a9228a5495ff.tar.gz
nextcloud-server-ebe3ae58cffa8c16ef2b1b74c5b7a9228a5495ff.zip
removed data-read and fixed droppable logic
Diffstat (limited to 'files/js')
-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 6044541d4aa..7c04245c223 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -12,7 +12,7 @@ $(document).ready(function() {
//drag/drop of files
$('#fileList tr td.filename').draggable(dragOptions);
- $('#fileList tr[data-type="dir"][data-read="false"][data-write="false"] td.filename').droppable(folderDropOptions);
+ $('#fileList tr[data-type="dir"][data-write="true"] td.filename').droppable(folderDropOptions);
$('div.crumb').droppable(crumbDropOptions);
$('ul#apps>li:first-child').data('dir','');
$('ul#apps>li:first-child').droppable(crumbDropOptions);