Merge branch 'dev-v8' into temp8-ui-use-umb-checkbox-for-all-variants-dialogs

This commit is contained in:
Robert
2019-03-12 11:09:20 +01:00
committed by GitHub

View File

@@ -50,7 +50,8 @@ 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 === selectedVals.length) {
if (same.length === $scope.model.value.length === selectedVals.length) {
return;
}