From 52d161f4f9d7b5794e6834ab37ea35c32083839b Mon Sep 17 00:00:00 2001 From: ccortes Date: Sun, 29 May 2016 15:48:42 +0200 Subject: [PATCH] Revert addition of "track by $index" expression in ng-repeat. It causes a bug: Angular does not render the children nodes when the tree source data is changed by another one. --- src/scripts/directives/ivh-treeview-children.js | 2 +- src/scripts/directives/ivh-treeview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/directives/ivh-treeview-children.js b/src/scripts/directives/ivh-treeview-children.js index ae3432f..9aadf09 100644 --- a/src/scripts/directives/ivh-treeview-children.js +++ b/src/scripts/directives/ivh-treeview-children.js @@ -13,7 +13,7 @@ angular.module('ivh.treeview').directive('ivhTreeviewChildren', function() { require: '^ivhTreeviewNode', template: [ '