[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Modules: handle modules wrapped in additional containers (e.g., topclass) in drag & drop

"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69d7a5eee89bd_3b191450369fe@gitlab-sidekiq-low-urgency-cpu-bound-v2-7678c6fcc8-cpxng.mail>

luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
f9a1973b by Landry Bitege at 2026-04-09T13:00:29+00:00
[FIX] Modules: handle modules wrapped in additional containers (e.g., topclass) in drag & drop
---
* [FIX] Modules: handle modules wrapped in additional containers (e.g., topclass) in drag & drop

See merge request tikiwiki/tiki!9979

- - - - -


1 changed file:

- lib/modules/tiki-admin_modules.js


Changes:

=====================================
lib/modules/tiki-admin_modules.js
=====================================
@@ -88,7 +88,7 @@ $(function() {    // wrapping
                 modAdminDirty = false;
                 let ser = {};
                 $(".modules").each(function() { /* do this on everything of class "modules" */
-                    let $modules = $(this).find("> div.module");
+                    let $modules = $(this).find("div.module");
                     if ($modules.length === 0) {
                         // feature_layoutshadows adds an extra div here
                         $modules = $(this).find("> div.box-shadow > div.module");



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/f9a1973bde655a9bf07347b39a67e20e94e766a1
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.