From b3a4d460eddca715f5977d757c15f1c18c763666 Mon Sep 17 00:00:00 2001 From: mpetrov Date: Wed, 12 Mar 2025 10:56:41 +0200 Subject: [PATCH] handled scriptlang change --- ui-ngx/src/app/shared/components/js-func.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui-ngx/src/app/shared/components/js-func.component.ts b/ui-ngx/src/app/shared/components/js-func.component.ts index f9674c550a..d6f2ded043 100644 --- a/ui-ngx/src/app/shared/components/js-func.component.ts +++ b/ui-ngx/src/app/shared/components/js-func.component.ts @@ -561,6 +561,9 @@ export class JsFuncComponent implements OnInit, OnChanges, OnDestroy, ControlVal break; case 'scriptLanguage': this.updatedScriptLanguage(); + this.updateHighlightRules(); + this.updateCompleters(); + this.updateJsWorkerGlobals(); break; case 'disableUndefinedCheck': case 'globalVariables':