Closed (fixed)
Project:
Weight
Version:
8.x-3.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2019 at 13:21 UTC
Updated:
20 Feb 2020 at 16:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ziomizar commentedThis is related to #2689377: Tabledrag handles are hidden the weight selector has been moved automatically to the first column but the table heading still in the original position
Comment #3
tobiberlinI tried to unset the header column but then I got a JavaScript error.
In weight_preprocess_views_view_table() line 26 I tried to remove the heading column of the weight field but then I get a JavaScript error:
The JavaScript error says: Uncaught TypeError: Cannot read property 'colSpan' of undefined.
Comment #4
ziomizar commentedHi tobiberlin,
You should not just unset the header. You should move the header column to the same position of the selector, so to the last position.
This code unset just because when is recreated it goes to the last column. You should do something like:
In that way both should be in the same position
Comment #5
tobiberlinThank ziomizar, this exactly solved the problem. Find attached a patch
Comment #6
ziomizar commentedComment #7
ziomizar commentedTobiberlin thanks for the patch!
I've fixed some indentation issues there like tabs instead of spaces and to many spaces per row.
Comment #9
ziomizar commented