forked from extern/egroupware
Backport commit 3159. Update MaxScrollHeight when the height is changed, in order to calculate sideBox scrollArea correctly
This commit is contained in:
parent
1c62210384
commit
adb6d91f1b
@ -994,6 +994,7 @@ function egw_fw_ui_scrollarea(_contDiv)
|
|||||||
if (delta)
|
if (delta)
|
||||||
{
|
{
|
||||||
self.scrollDelta(- delta * 30);
|
self.scrollDelta(- delta * 30);
|
||||||
|
if (self.contHeight != this.scrollHeight) self.update();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1163,7 +1164,7 @@ egw_fw_ui_scrollarea.prototype.mouseOverToggle = function(_over, _dir)
|
|||||||
{
|
{
|
||||||
this.mouseOver = _over;
|
this.mouseOver = _over;
|
||||||
this.dir = _dir;
|
this.dir = _dir;
|
||||||
|
this.update();
|
||||||
if (_over)
|
if (_over)
|
||||||
{
|
{
|
||||||
var _context = this;
|
var _context = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user