-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.5.2
-
Security Level: Jimmy
-
ZK 7.0.7
The following example opens a popup directly during the page initialization.
This causes a "loading..." mask that does not disappear.
The problem only exists when the popup has an onOpen-listener.
<zk xmlns:w="client"> <!-- workaround --> <!-- <div height="100%" onAfterSize='pop.open(self, "middle_center")'> --> <div height="100%" onCreate='pop.open(self, "middle_center")'> <popup id="pop" onOpen=""> <!-- no onOpen = no loading mask --> <!-- <popup id="pop"> --> <div width="200px" height="200px"> Popup Content </div> </popup> </div> </zk>
The workaround is to postpone the popup.open() to the next ajax event
e.g. using echo events or an onAfterSize listener with will have a similar effect