diff --git a/api/js/etemplate/Et2Textarea/Et2TextareaReadonly.ts b/api/js/etemplate/Et2Textarea/Et2TextareaReadonly.ts index e098d75b19..7b90b84a4d 100644 --- a/api/js/etemplate/Et2Textarea/Et2TextareaReadonly.ts +++ b/api/js/etemplate/Et2Textarea/Et2TextareaReadonly.ts @@ -5,6 +5,12 @@ import {Et2Description} from "../Et2Description/Et2Description"; */ export class Et2TextareaReadonly extends Et2Description { + constructor() + { + super(); + + this.noLang = true; // never translation r/o textareas + } } // We can't bind the same class to a different tag diff --git a/api/js/etemplate/Et2Textbox/Et2TextboxReadonly.ts b/api/js/etemplate/Et2Textbox/Et2TextboxReadonly.ts index 1fdb99a215..065262f9b6 100644 --- a/api/js/etemplate/Et2Textbox/Et2TextboxReadonly.ts +++ b/api/js/etemplate/Et2Textbox/Et2TextboxReadonly.ts @@ -16,6 +16,11 @@ import {Et2Description} from "../Et2Description/Et2Description"; */ export class Et2TextboxReadonly extends Et2Description { + constructor() + { + super(); + this.noLang = true; // never translation r/o textboxes + } } // We can't bind the same class to a different tag