Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions core/src/main/resources/lib/layout/settings-subpage.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ THE SOFTWARE.
permissions="${attrs.permissions}"
type="${newManageJenkins ? 'two-column' : 'one-column'}">

<st:adjunct includes="hudson-behavior"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hudson-behavior.js is always included and even when not that would not be the correct way.


<j:if test="${attrs.includeBreadcrumb}">
<!-- Hacky - this will be improved in subsequent PRs -->
<j:choose>
Expand Down Expand Up @@ -131,13 +133,19 @@ THE SOFTWARE.
</j:choose>
</l:defer.placeholder>
<l:defer.children>
<d:invokeBody />
<div class="jenkins-config">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see why this should solve the problem. To detect that there is a changed field there is lib.form.confirm.js. I think it is loaded but for some reason it doesn't catch the changes.

<d:invokeBody />
</div>
</l:defer.children>

</l:defer>
</j:when>
<j:otherwise>
<d:invokeBody />
<div class="jenkins-config">
<d:invokeBody />
</div>
</j:otherwise>

</j:choose>
</div>
</div>
Expand Down
Loading