asked
2014-11-09 14:23:36 +0800
peterg4000 30 ● 2 I am currently using zk 7.0.0 CE. (I have asked in another thread how to upgrade!)
I am building an interface with multiple movable/adjustable panels.
I have just discovered that a JavaScript error is thrown from zk code when I move a Panel, and all my client-side code seems to stop functioning after that.
I am assuming this error is causing my other client-side code not to run.
(I am guessing that's normal for a js error?)
Below is a minimal zul example that causes the error to be thrown in Chrome, after you drag the panel at all and release it. Error visible in Developers console.
<zk>
<panel title="Panel" floatable="true" movable="true">
<panelchildren>Panel text</panelchildren>
</panel>
</zk>
The error in the Chrome console is:
Uncaught ReferenceError: wgt is not defined
in zul.wnd.wpd
The code snippet causing the issue seems to be the wgt reference here:
aftermove:function(c,b){c.control.zsync();zk(wgt).redoCSS(-1,{fixFontIcon:true})},startsizing:zul.wnd
Help?