summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/list.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index a39ba62dc..8d6d9f1e6 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -285,8 +285,11 @@ click_row: function(e, id)
else
this.triggerEvent('click');
- if (!this.drag_active)
+ if (!this.drag_active) {
+ // remove temp divs
+ $('div.iframe-dragdrop-fix').each(function() { this.parentNode.removeChild(this); });
rcube_event.cancel(e);
+ }
this.rows[id].clicked = now;
return false;