minor
#27492
Unnecessary check for unsaved changes when reordering columns in the grid
When changes are made to a column in a grid and that column is reordered, a prompt appears asking what should be done with those changes. This prompt is incorrect here: The tl:FormField is displayed both before and after the reordering.
In addition, this dialog contains errors: Prior to #27350, "Apply" is displayed even when the change is invalid and cannot be applied. After #27350, “Apply” is correctly grayed out. However, “Cancel” is then broken: it does not cancel the reordering. The bug prior to #27350 doesn’t matter anyway, since that ticket will be resolved soon. And the other bug only affects column reordering. In other cases, the dialog works fine. However, since the dialog is unnecessary, these bugs shouldn’t matter. The dialog should simply be disabled here.
Test
- Make a change in the grid; do not save or switch rows
- Move a column using drag-and-drop.
- Expectation: No prompt appears.
- Move a column using the dialog.
- Expected behavior: No prompt appears.