diff --git a/src/views/admin/components/edition/item-document-edition-form.vue b/src/views/admin/components/edition/item-document-edition-form.vue index 99d37b333..011bf04aa 100644 --- a/src/views/admin/components/edition/item-document-edition-form.vue +++ b/src/views/admin/components/edition/item-document-edition-form.vue @@ -20,7 +20,8 @@ v-if="form.document != undefined && form.document != null && form.document_type != undefined && form.document_type != null && form.document != '' && form.document_type != 'empty'" - class="document-field-content"> + class="document-field-content" + :class="'document-field-content--' + form.document_type">
{{ $i18n.get('save') }}
@@ -55,6 +55,11 @@ export default { this.$refs['item-document-text-input']['$el'].children[0].focus(); this.$refs['item-document-text-input']['$el'].children[0].click(); } + }, + methods: { + confirmTextWriting() { + this.$emit('confirmTextWriting', this.localTextContent); + } } } \ No newline at end of file