Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296477

Tabledrag is not hiding the correct columns

$
0
0

Problem/Motivation

I've searched, but haven't found an issue for this. I'm not that good with JavaScript/jQuery so this might be me doing something wrong, but I can't see what.

I've tracked it down to the following problem: If the field, that gets the 'tabledrag-handle' prepended has a colspan, then the hidden column is not calculated correctly. The column that is one to the right of the column that should be hidden is hidden.

The markup of the table is fine, I've checked that without the tabledrag enabled. Also, if I replace the one field (the first one in the row) that has the colspan (2), with 2 regular fields each with colspan 1, everything works. That's what's lead me to believe this is actually a bug.

I can provide more info, of course, if that's needed.

Steps to reproduce

Proposed resolution

TBA

Remaining tasks

See patch in #2838945: Drupal.tableDrag: column span calculated wrongly for custom column
Write a fix
Review

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 296477

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>