-
-
From 174909d735a5ab453ec29d181eb97699e8ea6b46 Mon Sep 17 00:00:00 2001
From: Sebastiaan Janssen
Date: Thu, 22 Oct 2020 10:43:37 +0200
Subject: [PATCH 4/8] Takes the last commit from #9216 to make
umb-confirm-action backwards compatible
---
.../common/directives/components/umbconfirmaction.directive.js | 2 +-
.../src/views/components/umb-confirm-action.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbconfirmaction.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbconfirmaction.directive.js
index 2f682205ad..e04fa47152 100644
--- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbconfirmaction.directive.js
+++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbconfirmaction.directive.js
@@ -97,7 +97,7 @@ The prompt can be opened in four direction up, down, left or right.
templateUrl: 'views/components/umb-confirm-action.html',
scope: {
direction: "@",
- show: "<",
+ show: "",
onDelete: "&?",
onConfirm: "&",
onCancel: "&"
diff --git a/src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html b/src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html
index 39864c26fd..4a76fe5b34 100644
--- a/src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html
+++ b/src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html
@@ -12,7 +12,7 @@
'-right': direction === 'right',
'-bottom': direction === 'bottom',
'-left': direction === 'left'}"
- on-outside-click="clickCancel()" ng-if="show">
+ on-outside-click="clickCancel()" ng-if="show !== false">