зеркало из https://github.com/nextcloud/server.git
Used data-read and data-wite when binding drag and drop events
This commit is contained in:
Родитель
39a7bd9c00
Коммит
0730077840
|
@ -11,8 +11,8 @@ $(document).ready(function() {
|
|||
$('#file_action_panel').attr('activeAction', false);
|
||||
|
||||
//drag/drop of files
|
||||
$('#fileList tr[data-file!="Shared"] td.filename').draggable(dragOptions);
|
||||
$('#fileList tr[data-type="dir"][data-file!="Shared"] td.filename').droppable(folderDropOptions);
|
||||
$('#fileList tr td.filename').draggable(dragOptions);
|
||||
$('#fileList tr[data-type="dir"][data-read="false"][data-write="false"] td.filename').droppable(folderDropOptions);
|
||||
$('div.crumb').droppable(crumbDropOptions);
|
||||
$('ul#apps>li:first-child').data('dir','');
|
||||
$('ul#apps>li:first-child').droppable(crumbDropOptions);
|
||||
|
|
Загрузка…
Ссылка в новой задаче