From 7a91e9596c6448f06782b324447f95c4a032fd04 Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 20 Apr 2010 17:38:09 +0000 Subject: - fix iframe hack (divs must be removed also in mouseup) git-svn-id: https://svn.roundcube.net/trunk@3514 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/list.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index a39ba62dc..8d6d9f1e6 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/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; -- cgit v1.2.3