diff --git a/admin/themes/default/js/plugins_installated.js b/admin/themes/default/js/plugins_installated.js index c7df9de02..e6435ed96 100644 --- a/admin/themes/default/js/plugins_installated.js +++ b/admin/themes/default/js/plugins_installated.js @@ -307,11 +307,16 @@ $(document).ready(function () { /* Plugin Filters */ // Set filter on Active on load - $(".pluginMiniBox").each(function () { - if (!$(this).hasClass("plugin-active")) { - $(this).hide(); - } - }) + if (nb_plugin.active > 0) { + $(".pluginMiniBox").each(function () { + if (!$(this).hasClass("plugin-active")) { + $(this).hide(); + } + }) + } else { + $(".pluginMiniBox").show(); + } + $("#seeAll").on("change", function () { console.log("All"); diff --git a/admin/themes/default/template/plugins_installed.tpl b/admin/themes/default/template/plugins_installed.tpl index 8ec4f864e..4a2a84a25 100644 --- a/admin/themes/default/template/plugins_installed.tpl +++ b/admin/themes/default/template/plugins_installed.tpl @@ -223,7 +223,7 @@ jQuery(".pluginMiniBox").each(function(index){ {counter start=0 assign=i} {* *}