Closed Schrank closed 7 years ago
This is due to a strange behaviour of scriptaculous' Sortable. There are certain criteria for IDs of the draggable items:
The IDs must match the regular expression /^[^_\-](?:[A-Za-z0-9\-\_]*)[_](.*)$/
. See http://krues8dr.com/blog/2009/02/10/scriptaculous-sortable-create-onupdate-event-not-firing/.
I now changed the ID prefix from pdf-column
to pdf_column
and it seems to work fine.
I'm trying to change the column order for invoice to be qty first, but it doesn'T work.
Before save:
after save: