mystix
19 Jul 2010, 9:26 AM
the Ext.Element#addListener() method accepts a normalized config option (defaults to true) which, when set to false, is supposed to return the raw browser event to the handler function instead of the normalized Ext.EventObject.
the code in ext-core / Sencha Touch doesn't do that currently.
ext-core:
if (o.normalized) {
e = e.browserEvent;
}
Sencha Touch:
if(o.normalized) {
f.push('e = e.browserEvent;');
}
the check should be changed as follows:
if (o.normalized === false) {
// blah blah blah
}
the code in ext-core / Sencha Touch doesn't do that currently.
ext-core:
if (o.normalized) {
e = e.browserEvent;
}
Sencha Touch:
if(o.normalized) {
f.push('e = e.browserEvent;');
}
the check should be changed as follows:
if (o.normalized === false) {
// blah blah blah
}