add setDirty() logic to remove actions on mediaPicker3 property editor
(cherry picked from commit 3377a7c96b)
This commit is contained in:
committed by
Sebastiaan Janssen
parent
1c12e96c65
commit
ded4424b98
@@ -302,6 +302,8 @@
|
||||
if (onSuccess) {
|
||||
onSuccess();
|
||||
}
|
||||
|
||||
setDirty();
|
||||
},
|
||||
close: function () {
|
||||
editorService.close();
|
||||
@@ -350,12 +352,15 @@
|
||||
if (index !== -1) {
|
||||
vm.model.value.splice(index, 1);
|
||||
}
|
||||
|
||||
setDirty();
|
||||
}
|
||||
|
||||
function deleteAllMedias() {
|
||||
if (!vm.allowRemoveMedia) return;
|
||||
|
||||
vm.model.value = [];
|
||||
setDirty();
|
||||
}
|
||||
|
||||
function setActiveMedia(mediaEntryOrNull) {
|
||||
|
||||
Reference in New Issue
Block a user