Reproducible sample below:
<zk>
<gmaps width="500px" height="500px" />
<gmaps width="500px" height="500px" />
</zk>
Workaround: do not sync if no mask element in zk.eff.Mask
<zk>
<script><![CDATA[
zk.afterLoad("zul", function () {
var _mwgt = {};
zk.override(zk.eff.Mask.prototype, _mwgt, {
sync: function () {
if (this.mask)
_mwgt.sync.apply(this, arguments);
}
});
});
]]></script>
<gmaps width="500px" height="500px" />
<gmaps width="500px" height="500px" />
</zk>
How to fix:
Modify _realBind method,
change
maskOpts._mask.sync();
to
if (maskOpts._mask.mask)
maskOpts._mask.sync();
Original issue reported on code.google.com by benbai...@gmail.com on 21 Nov 2013 at 2:51
Original issue reported on code.google.com by
benbai...@gmail.com
on 21 Nov 2013 at 2:51