There appears to be two minor issues with the updateField function in tabledrag.js
1. If there are multiple draggable tables on one page and rowSettings.relationship == 'parent' and it doesn't find a previous row, then it will grab the first row from the first draggable table on the page instead of the active draggable table.
Old:
sourceRow = $('tr.draggable:first').get(0);
New:
sourceRow = $($(changedRow).parents('table.tabledrag-processed').get(0)).find('tr.draggable:first');
2. If rowSettings.relationship == 'sibling' then it computes the number of indentations with '.indentations' instead of '.indentation'. and then it compares an integer representing the number of indentations to an array of indentations of the changedRow.
Old:
if ($('.indentations', previousRow).size() == $('.indentations', changedRow)) {
New:
if ($('.indentation', previousRow).size() == $('.indentation', changedRow).size()) {
Comments
Comment #2
d.clarke commentedTrying with a patch file generated from cvs diff
Comment #4
d.clarke commentedComment #5
d.clarke commented#2: tabledrag_cvsdiff.patch queued for re-testing.