It happen on admin/content/node-type/%/fields
and tabledrag doesn't work.
When disabling Devel Themer, it works.

Related issue:
#372369: indentAmount property for tabledrag is buggy

But in my opinion it should be fixed as well in Devel Themer as well, because it does work without it.

Comments

cyberwolf’s picture

Subscribing

galaxor’s picture

The problem seems to be that rows get added to the table by this module, and those rows have no cells in them. So testCell, there, is defined by

var testCell = $('> tbody > tr.draggable:first td:first, > tr.draggable:first td:first', table).prepend(indent).prepend(indent);

Well, since there is no tds in that row, that means that testCell will be a jquery object of length 0, and .get(1) will fail.

Now, the big question is: Why do the empty rows get created? I haven't dug in there enough to figure out why yet. But this is a lead.

kenorb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 is no longer officially supported. If you think this issue is still relevant for 8.x, feel free to re-open.