From 99f0e6c05a80017e1fb3fdb4b3035ed628309f22 Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Wed, 23 Jan 2019 20:54:34 +0100 Subject: [PATCH] Fix callback --- .../common/directives/components/umbcolorswatches.directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbcolorswatches.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbcolorswatches.directive.js index dc67cb464b..494fae9919 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbcolorswatches.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbcolorswatches.directive.js @@ -38,7 +38,7 @@ Use this directive to generate color swatches to pick from. scope.selectedColor = color; if (scope.onSelect) { - scope.onSelect(color); + scope.onSelect({color: color }); } }; }