-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.5
-
None
-
Security Level: Jimmy
-
None
-
None
Reproducing steps:
1. Open the sample zul page in IE version <= 10
2. Click the calendar icon to open the calendar control
3. Click the previous or next arrow
-> it is a bug if "beforeUnload invoked" log message appears
Reproducing sample:
<window width="100%" height="100%" border="normal" title="ZK ${desktop.webApp.version}"> <script type="text/javascript"><![CDATA[ zk.afterMount(function () { zk.beforeUnload(function() { zk.log("invoke beforeUnload") }); }); ]]></script> <datebox /> </window>
Workaround:
Apply the following script
zk.afterLoad('zul.db', function() { var xCalendar = {}; zk.override(zul.db.Calendar.prototype, xCalendar, { _clickArrow: function(evt) { xCalendar._clickArrow.apply(this, arguments); if (zk.ie < 11) { evt.stop({dom:true}); } } }); });
- relates to
-
ZK-2422 <a> component causes onbeforeUnload in IE<=10
- Closed