aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-23 09:31:42 +0100
committerChocobozzz <me@florianbigard.com>2018-03-23 09:31:42 +0100
commitd63fd4f7b1e41ef7b05fd97abff5c4cebbea63df (patch)
tree85c3726b07a6d730ed3025cd2968fb07981a9ab0 /client
parent3660d6c3c7ddacfb54d4a3bb42bc93467e7a75af (diff)
downloadPeerTube-d63fd4f7b1e41ef7b05fd97abff5c4cebbea63df.tar.gz
PeerTube-d63fd4f7b1e41ef7b05fd97abff5c4cebbea63df.tar.zst
PeerTube-d63fd4f7b1e41ef7b05fd97abff5c4cebbea63df.zip
Force form validation in configuration
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts2
1 files changed, 2 insertions, 0 deletions
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 {
123 this.oldCustomJavascript = this.customConfig.instance.customizations.javascript 123 this.oldCustomJavascript = this.customConfig.instance.customizations.javascript
124 124
125 this.updateForm() 125 this.updateForm()
126 // Force form validation
127 this.forceCheck()
126 }, 128 },
127 129
128 err => this.notificationsService.error('Error', err.message) 130 err => this.notificationsService.error('Error', err.message)