Renamed variable in order to fix issue when using content picker
This commit is contained in:
committed by
Sebastiaan Janssen
parent
92dacf050b
commit
b065089bcb
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user