Results 1 to 3 of 3

Thread: Destroy method isn't working properly...

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default Destroy method isn't working properly...

    Destroy method is not removing the refernce....even remove is not working for x-panel type reference......

    remove is removing the component from parent panel very properly but not removing the reference...its reference exist even after removing the component from parent...remove is just setting the isDestroyed property to true..

    if i continue without destroying or removing...... i get Uncaught-TypeError-Cannot-read-property-className-of-undefined error....while dragging draggable items on the page....

    if i tried opening that page directly....then its working fine......if tried opening with last page reference then i got Uncaught-TypeError-Cannot-read-property-className-of-undefined

    plzzz suggest...

  2. #2
    Sencha User rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,159
    Vote Rating
    7
      0  

    Default

    Could you create a test case for this issue please?

    Thanks.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    9
    Vote Rating
    0
      0  

    Default

    I think the issue is that either the draggable or droppable objects are still registered as listeners, and they are trying to modify the class of their respective dom elements even though they don't exist anymore. I had a similar situation but doing panel.droppableObject.disable() did it for me (droppableObject a reference I added).

Posting Permissions

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