-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 9.0.0
-
Component/s: ZK Client Engine
-
Security Level: Jimmy
-
None
-
None
Steps to Reproduce
<!DOCTYPE html> <html> <head> <script src="/zkau/web/js/zkmax/embedded/embedded.js"></script> </head> <body> <button id="trigger">load zk</button> <div id="zkapp"></div> <script> trigger.addEventListener('click', () => { zEmbedded.load('zkapp', '/any.zul'); }); </script> </body> </html>
click the button multiple times
Current Result
each time a new desktop is created at server side
the rmDesktop command is missing
Expected Result
working rmDesktop mechanism
Debug Information
Workaround
call rmDesktop manually before re-loading the embedded zul
zAu._rmDesktop(desktop);