Skip to content

Commit

Permalink
allow redirect to url after action
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed May 26, 2023
1 parent 9c4a933 commit a5f6330
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions javascript/cms-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
if (data.reload) {
window.location.reload();
}
if (data.url) {
window.location.href = data.url;
}
return;
}
// Update progress data
Expand Down

0 comments on commit a5f6330

Please sign in to comment.