mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
fixes #1509 if no plugins activated : show all plugins
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user