]> source.dussan.org Git - nextcloud-server.git/commitdiff
you can now move files to the root folder by draging them to the Files entry in the...
authorRobin Appelman <icewind1991@gmail.com>
Fri, 29 Jul 2011 16:00:42 +0000 (18:00 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Fri, 29 Jul 2011 16:00:42 +0000 (18:00 +0200)
files/js/files.js

index 4e1de1b04a41396d0443c1bae382144c866a6442..be7e48aeeeb29b8da1c21cb31b47228fd4dbb1ff 100644 (file)
@@ -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 :