summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2013-04-25 11:30:43 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2013-04-25 11:30:43 (GMT)
commitaf91c596bde84b9955e1ba196debce48acf2f555 (patch)
treef62bdfb3c798af18a9ee52d0a6e1acd292856e53
parent5f306222f203dc579af8a031dfaefd8b07222766 (diff)
downloadroundcubemail-plugins-kolab-af91c596bde84b9955e1ba196debce48acf2f555.tar.gz
Don't highlight selected folder on drag-n-drop
-rw-r--r--plugins/kolab_files/kolab_files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js
index 9679651..2bbb2e6 100644
--- a/plugins/kolab_files/kolab_files.js
+++ b/plugins/kolab_files/kolab_files.js
@@ -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() {