-
Bug
-
Resolution: Fixed
-
Normal
-
9.5.0
-
Security Level: Jimmy
-
None
Steps to Reproduce
<zk> <portallayout id="pl"> <portalchildren/> </portallayout> <button onClick="pl.detach()" label="click to detach portallayout"/> </zk>
click the button
Current Result
JS error originating in za11y.wpd
zk.wpd:653 Uncaught TypeError: zWatch.inListen is not a function at d.unbind_ (za11y.wpd:236) at d.unbind (zk.wpd:500) at d.removeChildHTML_ (zk.wpd:497) at d.removeChild (zk.wpd:475) at detach (zk.wpd:476) at Object.rm (zk.wpd:677) at m (zk.wpd:642) at K (zk.wpd:645) at Object._doCmds (zk.wpd:652) at Object.afterResponse (zk.wpd:663)
Expected Result
portallayout is detached without error
Debug Information
only happens with za11y.jar on the classpath
typo https://github.com/zkoss/zkcml/blob/v9.5.0/za11y/src/archive/web/js/za11y/zkmax/layout-a11y.js#L281
should be unListen