Don't highlight selected folder on drag-n-drop

This commit is contained in:
Aleksander Machniak 2013-04-25 13:30:43 +02:00
parent 5f306222f2
commit af91c596bd

View file

@ -658,7 +658,7 @@ function kolab_files_ui()
row.addClass('virtual');
else
row.mouseenter(function() {
if (rcmail.file_list && rcmail.file_list.drag_active)
if (rcmail.file_list && rcmail.file_list.drag_active && !$(this).hasClass('selected'))
$(this).addClass('droptarget');
})
.mouseleave(function() {