[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX][UX] Admin Calendars: Prevent create form from being hidden

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a28ef04bbde8_38194d6c5328b@gitlab-sidekiq-low-urgency-cpu-bound-v2-5488cfffb7-j5qsg.mail>

ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
b1b10bbb by MAGENE Sem Joel at 2026-06-10T04:40:53+00:00
[FIX][UX] Admin Calendars: Prevent create form from being hidden
---
* [FIX][UX] Admin Calendars: Prevent create form from being hidden

See merge request tikiwiki/tiki!10475

- - - - -


1 changed file:

- lib/jquery_tiki/tiki-admin.js


Changes:

=====================================
lib/jquery_tiki/tiki-admin.js
=====================================
@@ -453,12 +453,14 @@
             }
         });
 
-        // Hide fieldsets that became empty after negative filters were applied
-        $(".tiki-admin fieldset:not(.tabcontent):visible").each(function () {
-            if ($(this).find(".adminoptionbox.preference:visible, .admbox:visible").length === 0) {
-                $(this).hide();
-            }
-        });
+        // Hide preference fieldsets that became empty after negative filters were applied
+        $(".tiki-admin fieldset:not(.tabcontent):visible")
+            .has(".adminoptionbox.preference, .admbox")
+            .each(function () {
+                if ($(this).find(".adminoptionbox.preference:visible, .admbox:visible").length === 0) {
+                    $(this).hide();
+                }
+            });
 
         // Hide tag badges (advanced/experimental) when their filter is actively selected
         $(".preffilter").each(function () {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b1b10bbb2050dd45ec556f44d9633924a9198b53

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/b1b10bbb2050dd45ec556f44d9633924a9198b53
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.