[
https://issues.jboss.org/browse/RF-11838?page=com.atlassian.jira.plugin.s...
]
Pjotr Andreev commented on RF-11838:
------------------------------------
??4.2.0-SNAPSHOT Showcase->Ajax Action->a4j:ajax->Dynamic Selects??:
I think there must be one more check for event.layerX in richfaces-queue.js, line 129,
otherwise the ajax req fails on IE8 (or on IE9/<meta
http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>) with
"SCRIPT438: Object doesn't support this property or method
richfaces-queue.js.jsf, line 130 character 17":
{code:title=richfaces-queue.js|borderStyle=dashed}
// Remove the layerX and layerY events (generated in WebKit browsers)
if (event && event.layerX) {
delete event.layerX;
delete event.layerY;
}
{code}
I`ve tested it with FF13, IE8/Win7, IE9(EmulateIE8) and Chrome- no errors
Warning in Chrome console for pages with ajax
---------------------------------------------
Key: RF-11838
URL:
https://issues.jboss.org/browse/RF-11838
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: compatibility
Affects Versions: 4.1.0.Final
Environment: Google Chrome 16.0.912.63
Reporter: Pavol Pitonak
Assignee: Brian Leathem
Fix For: 4.2.0.CR1
# open Showcase in Chrome
http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=ajax&am...
# open browser console
# type "xxx" into input
result:
The following warning is displayed in browser console 6 times (twice for each Ajax
request). Seems to be Chrome-specific and seems not to influence functionality of any
component.
{quote}
event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed
from the engine in the near future.
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira