From 23d3ce2edff924e7ae5933c5fa7ca4615feee668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 2 Jul 2024 15:58:15 +0200 Subject: [PATCH] Merge edit and translate button for HTML widget Closes #13383 --- sao/src/view/form.js | 18 ++++++++---------- .../gui/window/view_form/view/form_gtk/url.py | 12 ++++++++---- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/sao/src/view/form.js b/sao/src/view/form.js index 7c1396e0d7..156048b3ec 100644 --- a/sao/src/view/form.js +++ b/sao/src/view/form.js @@ -4853,15 +4853,9 @@ function eval_pyson(value){ 'rel': 'noreferrer noopener', }).text(attributes.string).appendTo(this.el); if (attributes.translate) { - var button = jQuery('