From 83f875dadd307fec3afd1d89b082fecc5dedfd73 Mon Sep 17 00:00:00 2001
From: Mads Rasmussen
Date: Tue, 16 Feb 2016 15:19:54 +0100
Subject: [PATCH] fix umbConfirmAction example
---
.../components/umbconfirmaction.directive.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 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 a659825120..1dcccda481 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
@@ -11,15 +11,15 @@ The prompt can be opened in four direction up, down, left or right.
Markup example
-
+
-
+
+ on-confirm="vm.confirmAction()"
+ on-cancel="vm.hidePrompt()">
@@ -55,7 +55,7 @@ The prompt can be opened in four direction up, down, left or right.
}
- angular.module("umbraco").controller("Umbraco.Controller", Controller);
+ angular.module("umbraco").controller("My.Controller", Controller);
})();