Results 1 to 3 of 3

Thread: Small bug in sdk\src\data\TreeStore.js

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

    Default Small bug in sdk\src\data\TreeStore.js

    Version 2.0.1.1
    File
    sdk\src\data\TreeStore.js

    Line 247
    this.getRootNode().removeAll(true); // getRootNode is not defined if I use sencha cmd to minify/build.
    this.getRoot().removeAll(true); // Changed getRootNode to getRoot to fix the issue

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

    Default

    Is this the removeAll method of Ext.data.TreeStore? If so then looks like this has been fixed as it looks like this in 2.1.0:

    Code:
        removeAll: function() {
            this.getRoot().removeAll(true);
            this.callParent(arguments);
        }
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    111
    Vote Rating
    1
      0  

    Default

    Yep, it's that method. Looks like it's time for me to update.

Posting Permissions

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