-
Bug
-
Resolution: Fixed
-
Critical
-
7.0.6, 6.5.8.1
-
Security Level: Jean
-
None
clicking the "redirect"-button opens a new browser tab (OK expected)
in the old tab the ZK client engine stops working
<zk> <button label="redirect stops client engine" onClick='Executions.getCurrent().sendRedirect("whatever", "_blank");'/> <button label="test AU" onClick='Clients.log("au working")'/> </zk>
Patched for previous version
<script><![CDATA[ zk.afterLoad(function() { zAu.cmd0.redirect = function (url, target) { try { zUtl.go(url, {target: target}); // Bug ZK-2844 if (!target) zAu.disabledRequest = true; // Bug ZK-2616 } catch (ex) { if (!zk.confirmClose) throw ex; } }; });//afterLoad ]]></script>