Bugfix
Detail
#27492
Unnecessary check for unsaved changes when reordering columns in the grid
If changes are made in a column in a grid and this column is reordered, a query comes up what should happen with these changes. This query is wrong here: the tl:FormField is shown before and after.
Also, this dialog has errors: before #27350, "Apply" is displayed even if the change is invalid and cannot be applied. After #27350 "Apply" is correctly grayed out. But then "Cancel" is defective: it does not cancel the reordering. The error before #27350 doesn't matter anyway, because the ticket will be finished soon. And the other error concerns only the re-sorting of the columns. In other cases the dialog works. But since the dialog is unnecessary, these errors should not matter. The dialog should simply be disabled here.
Test
- Make a change in the grid; Do not save or change row
- Move a column by drag'n'drop.
- Expectation: No request comes.
- Move a column via dialog.
- Expectation: There is no demand.