From 873dcb126fee922946edcb20f244193c3d1439e1 Mon Sep 17 00:00:00 2001 From: ralf Date: Sun, 31 Jul 2022 11:43:20 +0200 Subject: [PATCH] implement deprecated set_suggest to fix JS errors from apps calling it (mail) --- api/js/etemplate/Et2Textbox/Et2Password.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api/js/etemplate/Et2Textbox/Et2Password.ts b/api/js/etemplate/Et2Textbox/Et2Password.ts index d3b74ab336..4ce796b4f7 100644 --- a/api/js/etemplate/Et2Textbox/Et2Password.ts +++ b/api/js/etemplate/Et2Textbox/Et2Password.ts @@ -95,6 +95,15 @@ export class Et2Password extends Et2InvokerMixin(Et2Textbox) } } + /** + * @param _len + * @deprecated use this.suggest instead + */ + set_suggest(_len) + { + this.suggest = _len; + } + /** * Ask the server for a password suggestion */