js/foundation/eventmanager/eventmanager.js in rsence-2.1.3 vs js/foundation/eventmanager/eventmanager.js in rsence-2.1.4
- old
+ new
@@ -318,13 +318,15 @@
/** Receiver of the onResize event.
* Delegates calls to the high-level event receivers of all
* controls registered for the event.
**/
resize: function(e) {
- var i = 0,
- _this = EVENT,
- _ctrlID,
- _ctrl;
+ var
+ i = 0,
+ _this = EVENT,
+ _ctrlID,
+ _ctrl;
+ HSystem._updateFlexibleRects();
for (; i < _this.resizeListeners.length; i++) {
_ctrlID = _this.resizeListeners[i];
_ctrl = HSystem.views[_ctrlID];
if (_ctrl['resize']) {
_ctrl.resize();