From 4f1597ccb985007a43fb1bd82f1bb92a3681b85b Mon Sep 17 00:00:00 2001 From: Ravi Kumar Kempapura Srinivasa Date: Thu, 7 Oct 2021 15:39:20 +0200 Subject: [PATCH] Update selection-info-count immediately on selection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The selection-info-count at the left bottom of host or service info needs to be updated immediately after selection. Hence use the already defined ´count´ to update the selection info on click. Also, avoid refreshing the active columns. (cherry picked from commit 72e63dd0a18254a20bd7f2b955fdb5695edd602e) --- public/js/icinga/behavior/actiontable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/icinga/behavior/actiontable.js b/public/js/icinga/behavior/actiontable.js index 1bdc04609..ad7b448b2 100644 --- a/public/js/icinga/behavior/actiontable.js +++ b/public/js/icinga/behavior/actiontable.js @@ -425,7 +425,7 @@ }); // update selection info - $('.selection-info-count').text(table.selections().length); + $('.selection-info-count').text(count); return false; };