editor.layout['#children'].push(afGui.meta.elements.submit.element);
}
}
-
- else if (editor.getFormType() === 'block') {
+ else {
editor.layout['#children'] = editor.afform.layout;
- editor.blockEntity = editor.afform.join_entity || editor.afform.entity_type;
+ }
+
+ if (editor.getFormType() === 'block') {
+ editor.blockEntity = editor.afform.join_entity || editor.afform.entity_type || '*';
$scope.entities[editor.blockEntity] = backfillEntityDefaults({
type: editor.blockEntity,
name: editor.blockEntity,