Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
At the moment users are not able to create hierarchy through tabledrag tables because of the javascript functionality is broken and you cannot see which level current item has been set.
Proposed resolution
Fix it!
Remaining tasks
Fix it!
Test it!
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#3 | tabledrag_hierarchy-2461823-3.patch | 697 bytes | lauriii |
Comments
Comment #1
lauriiiComment #2
lauriiiSeems to be broken after #2449445: Add "indentation" class back to indentation theme hook, use it for styling
Comment #3
lauriiiComment #4
lauriiiComment #5
jibranFor Drupal JS squad.
Comment #6
nod_Ideally we would get rid of the
indentation
&js-indentation
class and replace all.js-indentation
with[data-drupal-indentation]
as well as move all the relevant CSS from system.module.css tocore/misc/tabledrag/tabledrag.css
and move the JS file in this folder too (like for dropbutton).
The patch fixes the issue, but I'd like to take the opportunity to isolate all the tabledrag stuff where it belongs.
Comment #7
Bojhan CreditAttribution: Bojhan as a volunteer commented@alexpott Mentioned that we should fix the core problem first. Fix the regression and then fix the larger issue.
I tested it and it works here.
Comment #8
alexpottThis is a duplicate of #2449445: Add "indentation" class back to indentation theme hook, use it for styling