Results 1 to 3 of 3

Thread: Stop using 'this' in event listener docs

    You found a bug! We've classified it as DOCS-412 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153
    Answers
    33

    Default Stop using 'this' in event listener docs

    Makes it harder to copy paste code, especially for newcomers to Ext JS / javascript:

    'this' is reserved word, change to 'sender' or 'source'

    Code:
    itemcontextmenu ( this , record , item , index , e , eOpts )

  2. #2
    Sencha Premium User
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    2,339
    Answers
    20

    Default

    I agree, but from my experience documentation issues reported int this forum are often ignored.

    I'd recommend using the documentation forum instead.

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Thanks for the report! I have opened a documentation request in our bug tracker.

Similar Threads

  1. Extjs 5 listener stop working
    By Hazio in forum Ext 5: Q&A
    Replies: 1
    Last Post: 23 Feb 2015, 5:25 AM
  2. Replies: 3
    Last Post: 1 Aug 2012, 12:59 PM
  3. Replies: 3
    Last Post: 4 Jun 2012, 7:35 AM
  4. Replies: 0
    Last Post: 8 Oct 2011, 6:05 AM
  5. Replies: 4
    Last Post: 25 Aug 2011, 6:06 PM

Posting Permissions

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