Bug ZK-2310: When maximize the panel in portallayout, add another panel will cause js error