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
Table drag is broken with 9.1.x. This is caused by Bootstrap partially overriding table drag JavaScript. It seems like the breaking change in core is #3084916: Add a new Drupal.theme JavaScript function for theming the the show/hide row weight toggle and its wrapper in draggable tables.
Proposed resolution
Remaining tasks
Comment | File | Size | Author |
---|---|---|---|
#2 | 3168744-2.patch | 1.07 KB | wombatbuddy |
Comments
Comment #2
wombatbuddy CreditAttribution: wombatbuddy commentedComment #3
imclean CreditAttribution: imclean commentedComment #4
wombatbuddy CreditAttribution: wombatbuddy commentedAfter patching draggin start working, but we face with another issue - in Chrome console the error messages appears. To get rid of it you may disable the Bootstrap Tooltips in the settings of your theme. See the screenshot of the example
Comment #5
joel_osc CreditAttribution: joel_osc at OpenPlus commentedLooks like a duplicate of #3188251: Cannot read property 'html' of undefined.
Comment #6
joel_osc CreditAttribution: joel_osc at OpenPlus commentedAlso dup of #3209773: this.$toggleWeightBUtton is undefined - which works better than this patch for me which generated a button with no text.
Comment #7
markhalliwell