From f6045ab4819458816852562f0aac460ce6342596 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 17 Jan 2019 16:15:19 +0100 Subject: [PATCH] Also reset the UI selection after emptying the groups Signed-off-by: Joas Schilling --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index 1446f6c8..ea57d786 100644 --- a/js/script.js +++ b/js/script.js @@ -161,7 +161,7 @@ $('#subject').val(''); $('#message').val(''); - $('#groups').val(''); + $('#groups').val('').trigger('change'); }).fail(function (response) { OC.msg.finishedError('#announcement_submit_msg', response.responseJSON.error); });