Skip to content

Commit

Permalink
Merge pull request #496 from MarkEWaite/fix-ui-regression
Browse files Browse the repository at this point in the history
[JENKINS-72364] Close provider dialog window when cancel is clicked
  • Loading branch information
jtnord committed Dec 8, 2023
2 parents 8835d63 + 7f098a5 commit cf0a900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/lib/credentials/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Behaviour.specify("#credentials-add-submit", 'credentials-dialog-add', 0, functi
});

Behaviour.specify("#credentials-add-abort", 'credentials-dialog-abort', 0, function (e) {
e.onclick = (_) => window.credentials.dialog.style.display = "none";
e.onclick = (_) => window.credentials.dialog.hide();
});

0 comments on commit cf0a900

Please sign in to comment.