This is a follow-up of #2671840: Weight selector missing.

When using the weight selector on a view, the selectors are present after applying the patch in #2671840: Weight selector missing. But the tabledrag handles are still not visible. They have a style attribute style="display: none;" applied. What is causing this?

Comments

Lukas von Blarer created an issue. See original summary.

jlicht’s picture

Could this be because you'd selected "Show row weights"? Toggling show/hide row weights should toggle both the "Weight" select and the handles, so that only one is displayed at time.

luksak’s picture

No, toggling the weights only shows and hides the select. The handles never appear.

jlicht’s picture

If you could post the config files for your view and content type, it would help in trying to reproduce this

luksak’s picture

StatusFileSize
new291 bytes
new20.56 KB

I was not sure how to do this, but I am just posting these two config files. You will be missing all fields. Does that help?

radamiel’s picture

Just reorder columns in view to make Order Select to be not first because Draggable tag adds to first column!! I had this problem with 7.x-3.1 as well :)

morsok’s picture

Moving the field to the last worked for me. It's a bit weird we have to do that though, I think there still might be a bug somewhere.

In the mean time it's a good workaround.

luksak’s picture

That worked perfectly. Thank you!

Still, this is a major issue and we have to solve this.

ziomizar’s picture

Status: Active » Needs review
StatusFileSize
new906 bytes

The provided patch move automatically to the last position the weight selector.
This is done when the draggable attribute is configured in all the rows.
With the current patch i see the draggable element also if the weight selector is on the first column.

ziomizar’s picture

StatusFileSize
new1.58 KB
new1.27 KB

Optmization to move the weight selector just when in the first position.

ziomizar’s picture

StatusFileSize
new1.26 KB
new1.26 KB

Minor fix

  • ziomizar committed 99bbcb5 on 8.x-3.x
    Issue #2689377 by ziomizar, Lukas von Blarer: Tabledrag handles are...
ziomizar’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.