From 1cfe10e8315d27af6c41cde82cb648436fa0dbe0 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 5 Jul 2018 16:34:30 +0200 Subject: [PATCH] Reset selected nm actions on change folder. Fixes selected all actions sometimes get disabled. --- mail/js/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail/js/app.js b/mail/js/app.js index 5393cefa4c..5ca6c95e3a 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -2126,6 +2126,10 @@ app.classes.mail = AppJS.extend( // to reset iframes to the normal status this.loadIframe(); + + // reset nm action selection, seems actions system accumulate selected items + // and that leads to corruption for selected all actions + this.et2.getWidgetById(this.nm_index).controller._selectionMgr.resetSelection(); // Abort if user selected an un-selectable node // Use image over anything else because...?