diff options
author | alecpl <alec@alec.pl> | 2010-04-20 17:38:09 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-04-20 17:38:09 +0000 |
commit | dd51b73a9be093a86125519562a8ee238e134aeb (patch) | |
tree | 0e6d5d86c27459c8c599db0183d3c713a84d1512 | |
parent | 3544558f2d1b7b53de77f5ea373850dce8b05947 (diff) |
- fix iframe hack (divs must be removed also in mouseup)
-rw-r--r-- | program/js/list.js | 5 |
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; |