From 9cbea5764d102eaea82f5373a2f7b48a3f6684e5 Mon Sep 17 00:00:00 2001 From: Shannon Date: Thu, 9 Oct 2014 13:39:10 +1100 Subject: [PATCH] fixes umbtreeitem with ng-show instead of ng-if which wasn't working for the copy dialog for some reason --- .../src/common/directives/umbtreeitem.directive.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/umbtreeitem.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/umbtreeitem.directive.js index 37d07436c6..b3f1eb0ed5 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/umbtreeitem.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/umbtreeitem.directive.js @@ -31,11 +31,11 @@ angular.module("umbraco.directives") tree: '=' }, - template: '
  • ' + + template: '
  • ' + //NOTE: This ins element is used to display the search icon if the node is a container/listview and the tree is currently in dialog '' + '' + - '' + + '' + //NOTE: If the tree supports check boxes, render different markup '' + '' + @@ -108,7 +108,7 @@ angular.module("umbraco.directives") and emits it as a treeNodeSelect element if there is a callback object defined on the tree */ - scope.select = function (n, ev) { + scope.select = function(n, ev) { emitEvent("treeNodeSelect", { element: element, tree: scope.tree, node: n, event: ev }); };