From b065089bcb2d1f12d848a6a44ff015c15c3ee003 Mon Sep 17 00:00:00 2001 From: Emma Garland Date: Thu, 8 Nov 2018 14:14:50 +0000 Subject: [PATCH] Renamed variable in order to fix issue when using content picker --- .../contentpicker/contentpicker.controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/contentpicker/contentpicker.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/contentpicker/contentpicker.controller.js index 8bbf440fae..80da760a76 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/contentpicker/contentpicker.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/contentpicker/contentpicker.controller.js @@ -282,7 +282,7 @@ function contentPickerController($scope, entityResource, editorState, iconHelper }); /** Syncs the renderModel based on the actual model.value and returns a promise */ - function syncRenderModel(validate) { + function syncRenderModel(doValidation) { var valueIds = $scope.model.value ? $scope.model.value.split(',') : []; @@ -324,7 +324,7 @@ function contentPickerController($scope, entityResource, editorState, iconHelper }); - if (validate) { + if (doValidation) { validate(); } @@ -347,7 +347,7 @@ function contentPickerController($scope, entityResource, editorState, iconHelper } } - if (validate) { + if (doValidation) { validate(); }