From b24fe917e4aba4beb9618b85eab29af733e89ba5 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 22 Feb 2022 10:09:54 -0500 Subject: [PATCH] Prevent tagsinput select element to be submitted without a value when they are required - This was allowing to submit private messages to the wrong recipient --- view/js/friendica-tagsinput/friendica-tagsinput.js | 7 +------ view/templates/acl/message_recipient.tpl | 4 +++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/view/js/friendica-tagsinput/friendica-tagsinput.js b/view/js/friendica-tagsinput/friendica-tagsinput.js index e3db53df4..45c00641f 100644 --- a/view/js/friendica-tagsinput/friendica-tagsinput.js +++ b/view/js/friendica-tagsinput/friendica-tagsinput.js @@ -165,7 +165,7 @@ // add