From 6e5b277afaf5d8d3afab81415158f19840d58192 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 18 Jul 2019 21:19:15 +0200 Subject: [PATCH] commentar delete --- .../components/ContributionForm/ContributionForm.vue | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 0d59cb8f2..1e12c3a9e 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -46,18 +46,14 @@ :disabled="loading" ghost @click.prevent="$router.back()" - > - {{ $t('actions.cancel') }} - + >{{ $t('actions.cancel') }} - {{ $t('actions.save') }} - + >{{ $t('actions.save') }} @@ -180,13 +176,10 @@ export default { }, updateEditorContent(value) { var n = 0 - // this.form.content = value this.$refs.contributionForm.update('content', value) - this.disabled = true n = value.replace(/<\/?[^>]+(>|$)/gm, '').length this.form.contentLength = n - if (n > this.formSchema.content.min && this.formSchema.content.max > n) { this.disabled = false }