diff --git a/src/project/Project.js b/src/project/Project.js index 732c37bd..d4dd24b6 100644 --- a/src/project/Project.js +++ b/src/project/Project.js @@ -102,6 +102,7 @@ var Project = this.Project = Base.extend(/** @lends Project# */{ remove: function() { if (this._scope) { Base.splice(this._scope.projects, null, this._index, 1); + this._scope.remove(); this._scope = null; return true; }