Make only writable files draggable

This commit is contained in:
Michael Gapczynski 2012-05-14 20:41:06 -04:00
parent a3b06e9658
commit 568b6a7f56
1 changed files with 1 additions and 1 deletions

View File

@ -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','');