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 = '
' +
- '- ';
-
- if (!hideheader) {
- template += '';
- }
+ //var showheader = (attrs.showheader !== 'false');
+ var hideoptions = (attrs.hideoptions === 'true') ? "hide-options" : "";
+ var template = '
- ';
+ template += '';
template += '' +
diff --git a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/contentpicker.html b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/contentpicker.html
index 7890421360..0932b63286 100644
--- a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/contentpicker.html
+++ b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/contentpicker.html
@@ -38,8 +38,7 @@
diff --git a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/linkpicker.html b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/linkpicker.html
index b3cd07cb44..bf01c5e23c 100644
--- a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/linkpicker.html
+++ b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/linkpicker.html
@@ -22,8 +22,8 @@
diff --git a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/mediapicker.html b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/mediapicker.html
index a4c4b82638..0b834d6cf5 100644
--- a/src/Umbraco.Web.UI.Client/src/views/common/dialogs/mediapicker.html
+++ b/src/Umbraco.Web.UI.Client/src/views/common/dialogs/mediapicker.html
@@ -57,9 +57,8 @@ data-file-upload="options" data-file-upload-progress="" data-ng-class="{'fileupl
min-width="220"
on-click="clickHandler"
ng-model="images"
- filter-by="searchTerm"
- />
-
+ filter-by="searchTerm"/>
+