From 6a1fedf3a2b9aa1074652e985f9a505af6716e90 Mon Sep 17 00:00:00 2001 From: rajnikant-tripathi Date: Wed, 21 Oct 2015 13:09:38 +0530 Subject: [PATCH] selected Item does not change Currently if I change the selected node from outside, it does not change the selected node. To achieve the same , we need to watch the whole property of "inputModel" and not just reference. Please accept this pull request to avoid me putting a hack in my project:) --- src/multi-select-tree.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/multi-select-tree.js b/src/multi-select-tree.js index b1f858f..424638d 100644 --- a/src/multi-select-tree.js +++ b/src/multi-select-tree.js @@ -235,7 +235,7 @@ scope.refreshSelectedItems(); scope.refreshOutputModel(); } - }); + }, true); /** * Checks whether any of children match the keyword. @@ -283,4 +283,4 @@ controller: 'multiSelectTreeCtrl' }; }); -}()); \ No newline at end of file +}());