Commit 8c31bae9 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix error in IE8 when toggling by package/inheritance.

parent 251fa1bd
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -28,7 +28,9 @@ Ext.define('Docs.view.cls.InheritanceLogic', {
    },

    sortTree: function(node) {
      node.children.sort(this.compare, this);
        // IE8 doesn't support the scope parameter to .sort method
        node.children.sort(Ext.bind(this.compare, this));

        Ext.Array.forEach(node.children, this.sortTree, this);
    },