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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,070
    Vote Rating
    1394
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •