Backport commit 3159. Update MaxScrollHeight when the height is changed, in order to calculate sideBox scrollArea correctly

This commit is contained in:
Hadi Nategh 2014-07-23 14:19:02 +00:00
parent 1c62210384
commit adb6d91f1b

View File

@ -994,6 +994,7 @@ function egw_fw_ui_scrollarea(_contDiv)
if (delta)
{
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.dir = _dir;
this.update();
if (_over)
{
var _context = this;