From 1509c7364cda342cbb59267e9ab54e1213f67eb3 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 12 Mar 2019 09:52:03 +0100 Subject: [PATCH] Reverted extra check --- .../propertyeditors/checkboxlist/checkboxlist.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js index fac14b772d..3b6c47478e 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js @@ -50,7 +50,7 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.CheckboxListContro //get all of the same values between the arrays var same = _.intersection($scope.model.value, selectedVals); //if the lengths are the same as the value, then we are in sync, just exit - if (same.length === $scope.model.value.length && same.length === selectedVals.length) { + if (same.length === $scope.model.value.length === selectedVals.length) { return; }