[Action] RemoveAction

Adjusted unit tests for checking if
traverseObject is undefined. Also removed
unnecessary ROOT_ID variable.
This commit is contained in:
Shivam Dave
2015-08-27 09:41:00 -07:00
parent dadbf3f6dc
commit 3ec4cc099b
2 changed files with 15 additions and 11 deletions

View File

@ -55,8 +55,7 @@ define(
RemoveAction.prototype.perform = function () {
var $q = this.$q,
navigationService = this.navigationService,
domainObject = this.domainObject,
ROOT_ID = "ROOT";
domainObject = this.domainObject;
/*
* Check whether an object ID matches the ID of the object being
* removed (used to filter a parent's composition to handle the