Results 1 to 2 of 2

Thread: [FIXED-1136] Ext.Element#addListener() -- normalized option is broken

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,232

    Default [FIXED-1136] Ext.Element#addListener() -- normalized option is broken

    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:
    Code:
                if (o.normalized) {
                    e = e.browserEvent;
                }
    Sencha Touch:
    Code:
            if(o.normalized) {
                f.push('e = e.browserEvent;');
            }
    the check should be changed as follows:
    Code:
                if (o.normalized === false) {
                    // blah blah blah
                }

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256

    Default

    Thanks, this has been fixed up.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. [FIXED][3.0] element.style-more.js boxWrap broken
    By Animal in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 8 Apr 2009, 7:19 AM
  2. [FIXED][3.0] element.style-more.js boxWrap broken
    By Animal in forum Ext 2.x: Bugs
    Replies: 1
    Last Post: 8 Apr 2009, 7:19 AM
  3. Ext.util.Observable additional addListener option "addOnce"
    By dyndan in forum Community Discussion
    Replies: 3
    Last Post: 29 Aug 2008, 11:46 AM
  4. YAHOO.ext.Element and addListener
    By alex1er in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 18 Feb 2007, 2:57 AM
  5. YAHOO.ext.Element.addListener problem
    By kovtik in forum Ext 1.x: Help & Discussion
    Replies: 12
    Last Post: 17 Oct 2006, 7:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •