From e658afa0bcfb0cc35319072ed8d7df0bfa7855b7 Mon Sep 17 00:00:00 2001 From: Zacharie Date: Fri, 3 Jul 2020 11:46:22 +0200 Subject: [PATCH] Issue #1193 : Bug Fix, select message now don't appear if the actual page contain all the tags --- admin/themes/default/js/tags.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/admin/themes/default/js/tags.js b/admin/themes/default/js/tags.js index 4f8d7c8fa..ab102d7a0 100644 --- a/admin/themes/default/js/tags.js +++ b/admin/themes/default/js/tags.js @@ -528,9 +528,11 @@ $('#CancelMerge').on('click', function() { $('#selectAll').on('click', function() { selectAll(tagToDisplay()); - showSelectMessage(str_select_all_tag, function () { - selectAll(dataTags); - }) + if (selected.length < dataTags.length) { + showSelectMessage(str_select_all_tag, function () { + selectAll(dataTags); + }) + } }); function selectAll(data) {