Merge pull request #7132 from kjac/v8/fix/nested-content-copy-action-console-error
V8: Fix JS error when editing document types with Nested Content properties
This commit is contained in:
@@ -591,8 +591,8 @@
|
||||
}
|
||||
|
||||
function updatePropertyActionStates() {
|
||||
copyAllEntriesAction.isDisabled = !model.value || model.value.length === 0;
|
||||
removeAllEntriesAction.isDisabled = !model.value || model.value.length === 0;
|
||||
copyAllEntriesAction.isDisabled = !model.value || !model.value.length;
|
||||
removeAllEntriesAction.isDisabled = copyAllEntriesAction.isDisabled;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user