Skip to content

Commit

Permalink
ActionListBehavior: Set processing to false when the req is cancelled
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Jul 29, 2024
1 parent c8928b7 commit a2d94ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions asset/js/compat/ActionListBehavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ define(["../widget/ActionList", "Icinga"],function (ActionList, Icinga) {
);

req.always((_, __, errorThrown) => {

if (errorThrown !== 'abort') {
delete event.target.closest('.container').dataset.suspendAutorefresh;
event.detail.actionList.setProcessing(false);
Expand Down

0 comments on commit a2d94ea

Please sign in to comment.