summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-29 18:00:42 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-29 18:00:42 +0200
commitb6ad416757a78f404d757551ffa1697988bbf5b4 (patch)
treedd5cd7094117e2ceb1bb7bd6a7abaafff1b9b062 /files
parent98e78c0599a641ed33ed2abd70e540ce43a7ef15 (diff)
downloadnextcloud-server-b6ad416757a78f404d757551ffa1697988bbf5b4.tar.gz
nextcloud-server-b6ad416757a78f404d757551ffa1697988bbf5b4.zip
you can now move files to the root folder by draging them to the Files entry in the navigation panel
Diffstat (limited to 'files')
-rw-r--r--files/js/files.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/js/files.js b/files/js/files.js
index 4e1de1b04a4..be7e48aeeeb 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -5,6 +5,7 @@ $(document).ready(function() {
$('#fileList tr td.filename').draggable(dragOptions);
$('#fileList tr[data-type="dir"] td.filename').droppable(folderDropOptions);
$('div.crumb').droppable(crumbDropOptions);
+ $('#plugins>ul>li:first-child').data('dir','');
$('#plugins>ul>li:first-child').droppable(crumbDropOptions);
// Sets the file-action buttons behaviour :