From: Chocobozzz Date: Fri, 23 Mar 2018 08:31:42 +0000 (+0100) Subject: Force form validation in configuration X-Git-Tag: v1.0.0-beta.2~52 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d63fd4f7b1e41ef7b05fd97abff5c4cebbea63df;p=oweals%2Fpeertube.git Force form validation in configuration --- diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index 9ab8b08d0..d73ee71e4 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts @@ -123,6 +123,8 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { this.oldCustomJavascript = this.customConfig.instance.customizations.javascript this.updateForm() + // Force form validation + this.forceCheck() }, err => this.notificationsService.error('Error', err.message)