-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
The org.ametys.uitool.ToolsManager.prototype.slideInOtherRegionsOnFocus method is not future proof.
panelHierarchy is currently simple (center, east, west, north, south) but is coded to be more complex in the future (with center-right for example)
current code is not taking this in account
here is a fix that require to be tested
org.ametys.uitool.ToolsManager.prototype.slideInOtherRegionsOnFocus = function (panel)
{
for (var i in this._panelHierarchy)
{
if (this._panelHierarchy[i] != panel && panel.getLayout().isSlid)
{
panel.getLayout().slideIn();
}
}
}
This code is simplier and generic!