Skip to content

Commit

Permalink
- fix iframe hack (divs must be removed also in mouseup)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Apr 20, 2010
1 parent 3544558 commit dd51b73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion program/js/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dd51b73

Please sign in to comment.