Results 1 to 2 of 2

Thread: [ST 2.2.1] Ext.DomQuery.is multiple bugsUnfortunately fix of <b style="ma

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-4573 in a recent build.
  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    6
    Vote Rating
    1
      1  

    Default [ST 2.2.1] Ext.DomQuery.is multiple bugsUnfortunately fix of <b style="ma

    Unfortunately fix for TOUCH-4126 introduced additional problems, making behavior of Ext.DomQuery.is in some cases extremely destructive.

    Following things do not work:
    • passing element id will result in that element being removed from DOM
    • checking elements outside DOM is still broken in some cases
    • function do not support Array as first argument as specified in documentation
    Here comes my fiddle illustrating all these problems and tests for them

    Also this fiddle includes fix for all of them: first two are errors in code - we shouldn't query parentNode before we convert el from string to element and we should pass root to this.select if we have any

    Last one was implemented on my own, trying to keep code close to framework style

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,320
    Vote Rating
    1293
      1  

    Default

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

Posting Permissions

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