-
Bug
-
Resolution: Won't Fix
-
Critical
-
None
-
7.0.8
-
Security Level: Jimmy
-
IE11
-
None
problem description
http://zkfiddle.org/sample/hne4jr/5-Another-new-ZK-fiddle
Please Check above URL in Ie. Go to Internet Explorer 11. Then go to tools>internet option>advanced tab>enable script debugging.Then run above fiddle.
When I am trying to drag a non-drag gable list item in list box its showing that Object doesn't support property or method 'apply', File: zk.wpd, Line: 9, Column: 54118. There is only showing error in ZK.WPD file which is internal JS of ZK. in version 7.0.5.1 the error is not showing. But in 7.0.8 its showing. That is a script error . when i debug this using IE-11 developer tool the error is showing like Object doesn't support property or method 'apply', in line 9
steps to reproduce
- run the attached zul with IE11
- open the developer tool
- type 'test' in the textbox
- double-click the text in the textbox
current result
console shows the error:
Object doesn't support property or method 'apply'
zk.wpd (5161,6)
corresponding code:
ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) .apply( matched.elem, args );
debug info
- It doesn't happen since zk 8
- when 'selectstart' event fires, somehow handleObj.handle is a boolean value, true, instead of a function.
- a textbox out of a Listbox doesn't have such issue.
- chrome and firefox doesn't have this issue.
workaround
please refer to patch-zk3523.js, based on the solution for ZK-3175
- is duplicated by
-
ZK-3524 ] ZK WPD ERROR , Object doesn't support property or method 'apply' in 7.0.8
- Closed