Skip to content

Commit

Permalink
[JENKINS-72364] Close provider dialog window when cancel is clicked
Browse files Browse the repository at this point in the history
One change from #491
was applied to a reference that was not using Prototype.js.

https://issues.jenkins.io/browse/JENKINS-72364 is the issue report.

Confirmed interactively that I can see the problem before the change
and that with this change the problem is resolved.
  • Loading branch information
MarkEWaite committed Dec 7, 2023
1 parent 8835d63 commit 7f098a5
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 7f098a5

Please sign in to comment.