Skip to content

Commit

Permalink
[JENKINS-75265] Fix notification for l:task (#10261)
Browse files Browse the repository at this point in the history
  • Loading branch information
krisstern authored Feb 13, 2025
2 parents f294f55 + 0ed487d commit cbb8a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/resources/lib/layout/task/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Behaviour.specify("a.task-link-no-confirm", "task-link", 0, function (el) {
headers: crumb.wrap({}),
}).then((rsp) => {
if (rsp.ok) {
notificationBar(success, notificationBar.SUCCESS);
notificationBar.show(success, notificationBar.SUCCESS);
} else {
notificationBar(failure, notificationBar.ERROR);
notificationBar.show(failure, notificationBar.ERROR);
}
});
ev.preventDefault();
Expand Down

0 comments on commit cbb8a86

Please sign in to comment.