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 e04fa47152..2f682205ad 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 4a76fe5b34..39864c26fd 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 !== false"> + on-outside-click="clickCancel()" ng-if="show">