From 6d0b30d45619987d68b034aab5a3fd3760aef596 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 28 May 2018 16:18:32 +0200 Subject: [PATCH] Fix bug where messages list was not updated after moving ALL messages (#6310) --- program/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/program/js/app.js b/program/js/app.js index 591324580..be071e7c7 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3210,7 +3210,9 @@ function rcube_webmail() var n, len, id, root, roots = [], selection = post_data._uid; - if (typeof selection == 'string') + if (selection === '*') + selection = this.message_list.get_selection(); + else if (typeof selection == 'string') selection = selection.split(','); for (n=0, len=selection.length; n