diff --git a/skins/larry/ui.js b/skins/larry/ui.js index 9799ab8a8..c1bbfada8 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -802,6 +802,14 @@ function rcube_splitter(p) this.p2.resize(); this.p1.resize(); + // also resize iframe covers + if (this.drag_active) { + $('iframe').each(function(i, elem) { + var pos = $(this).offset(); + $('#iframe-splitter-fix-'+i).css({ top: pos.top+'px', left: pos.left+'px', width:elem.offsetWidth+'px', height: elem.offsetHeight+'px' }); + }); + } + if (typeof this.render == 'function') this.render(this); }; @@ -823,10 +831,12 @@ function rcube_splitter(p) $(document).bind('mousemove.'+this.id, onDrag).bind('mouseup.'+this.id, onDragStop); // enable dragging above iframes - $('iframe').each(function() { - $('
') + $('iframe').each(function(i, elem) { + $('