Skip to content

Commit

Permalink
[FIXED JENKINS-18032] Crumbs must be appended when using post=true re…
Browse files Browse the repository at this point in the history
…quiresConfirmation=true.

(cherry picked from commit 57fced9)
  • Loading branch information
jglick authored and olivergondza committed Apr 25, 2016
1 parent 63886be commit 328be10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/resources/lib/layout/breadcrumbs.js
Expand Up @@ -61,6 +61,9 @@ var breadcrumbs = (function() {
var form = document.createElement('form');
form.setAttribute('method', cfg.post ? 'POST' : 'GET');
form.setAttribute('action', cfg.url);
if (cfg.post) {
crumb.appendToForm(form);
}
document.body.appendChild(form);
form.submit();
}
Expand Down

0 comments on commit 328be10

Please sign in to comment.