From ec87ac765285cc8cfba0ad33141ec21762dac6f1 Mon Sep 17 00:00:00 2001 From: slhale Date: Tue, 4 Aug 2015 10:37:47 -0700 Subject: [PATCH] [Search] Comments --- .../general/src/controllers/TreeNodeController.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/platform/commonUI/general/src/controllers/TreeNodeController.js b/platform/commonUI/general/src/controllers/TreeNodeController.js index 15ac71f905..77124bb6e3 100644 --- a/platform/commonUI/general/src/controllers/TreeNodeController.js +++ b/platform/commonUI/general/src/controllers/TreeNodeController.js @@ -166,17 +166,6 @@ define( */ isSelected: function () { return isSelected; - - // Modification for compatibility with search. - // If this object is the same as the model's selected object - // Same being them having the same ID (this allows different - // instances of the same thing to be recognized as the same) - //return getId($scope.ngModel.selectedObject) === getId($scope.domainObject); - - // Not using modified version now because it breaks tests. - - // TODO: Check to make sure this change doesn't break - // anything/find a better way to do this } }; }