From adb6d91f1bc8232111336f6e2995cee09caad1da Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 23 Jul 2014 14:19:02 +0000 Subject: [PATCH] Backport commit 3159. Update MaxScrollHeight when the height is changed, in order to calculate sideBox scrollArea correctly --- jdots/js/egw_fw_ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jdots/js/egw_fw_ui.js b/jdots/js/egw_fw_ui.js index 97f1587a2b..14e30f17cb 100644 --- a/jdots/js/egw_fw_ui.js +++ b/jdots/js/egw_fw_ui.js @@ -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;