From e5e4279a0469ce489b477a01a5ecfa128682bd6d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 11 Apr 2023 11:59:04 +0200 Subject: [PATCH] Bug 33104: Add email validation Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt index 24002acfdc..dc509ed7d9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt @@ -617,6 +617,12 @@ }); nodes.append(`') $("#interfaces").replaceWith(nodes); + + interfaces.forEach((interface, i) => { + $("#interface_account_email_" + i).rules("add", { + email: true, + }); + }); } var Sticky; -- 2.39.5