Skip to content

Commit

Permalink
fix: Dirty form when grid rows are moved (#26230)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Apr 30, 2024
1 parent 99e4f55 commit 97123a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frappe/public/js/frappe/form/grid_row.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export default class GridRow {
// renumber and refresh
let data = me.grid.get_data();
data.move(me.doc.idx - 1, values.move_to - 1);
me.frm.dirty();

// renum idx
for (let i = 0; i < data.length; i++) {
Expand Down

0 comments on commit 97123a2

Please sign in to comment.