From 806596f04d82eb488345588103ee6ff20dce2940 Mon Sep 17 00:00:00 2001 From: perploug Date: Tue, 19 Nov 2013 14:20:51 +0100 Subject: [PATCH] Disables the tree header when it has a alt start node --- .../common/directives/umbtree.directive.js | 23 ++++++++----------- .../views/common/dialogs/contentpicker.html | 3 +-- .../src/views/common/dialogs/linkpicker.html | 4 ++-- .../src/views/common/dialogs/mediapicker.html | 12 +++++++--- .../common/dialogs/membergrouppicker.html | 4 ++-- .../views/common/dialogs/memberpicker.html | 4 ++-- .../common/dialogs/treepicker.controller.js | 2 +- .../src/views/common/dialogs/treepicker.html | 4 ++-- .../src/views/content/copy.html | 4 ++-- .../src/views/content/move.html | 4 ++-- .../src/views/media/move.html | 4 ++-- .../Trees/ContentTreeControllerBase.cs | 2 +- 12 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/umbtree.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/umbtree.directive.js index 30af946da3..2c60a87db2 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/umbtree.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/umbtree.directive.js @@ -13,8 +13,8 @@ function umbTreeDirective($compile, $log, $q, $rootScope, treeService, notificat scope: { section: '@', treealias: '@', - showoptions: '@', - showheader: '@', + hideoptions: '@', + hideheader: '@', cachekey: '@', isdialog: '@', //Custom query string arguments to pass in to the tree as a string, example: "startnodeid=123&something=value" @@ -24,18 +24,13 @@ function umbTreeDirective($compile, $log, $q, $rootScope, treeService, notificat compile: function(element, attrs) { //config - var hideheader = (attrs.showheader === 'false') ? true : false; - var hideoptions = (attrs.showoptions === 'false') ? "hide-options" : ""; - - var template = '