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

    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 Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,451

    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 Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    111

    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
  •