Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #3266 from recena/JENKINS-49129
[JENKINS-49129] Manage Jenkins dropdown menu no longer works
  • Loading branch information
oleg-nenashev committed Jan 26, 2018
2 parents 1a85ea6 + 18efa58 commit f9b3b4d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/main/resources/jenkins/model/Jenkins/manage.jelly
Expand Up @@ -53,10 +53,11 @@ THE SOFTWARE.
<j:set var="icon" value="${m.iconClassName != null ? m.iconClassName : m.iconFileName}" />
<j:if test="${icon!=null}">
<div class="manage-option">
<j:set var="iconUrl" value="${icon.startsWith('/') ? resURL+icon : imagesURL + '/48x48/' + icon}" />
${taskTags!=null and attrs.contextMenu!='false' ? taskTags.add(m.urlName, iconUrl, m.displayName, m.requiresPOST, m.requiresConfirmation) : null}
<j:choose>
<j:when test="${m.requiresConfirmation}">
<l:confirmationLink href="${m.urlName}" post="${m.requiresPOST}" message="${%are.you.sure(m.displayName)}">
<j:set var="iconUrl" value="${icon.startsWith('/') ? resURL+icon : imagesURL + '/48x48/' + icon}" />
<img class="icon" src="${iconUrl}" />
<dl>
<dt>${m.displayName}</dt>
Expand All @@ -67,7 +68,6 @@ THE SOFTWARE.
</j:when>
<j:when test="${m.requiresPOST}">
<f:link href="${m.urlName}" post="${m.requiresPOST}">
<j:set var="iconUrl" value="${icon.startsWith('/') ? resURL+icon : imagesURL + '/48x48/' + icon}" />
<img class="icon" src="${iconUrl}" alt="manage-option"/>
<dl>
<dt>${m.displayName}</dt>
Expand All @@ -78,7 +78,6 @@ THE SOFTWARE.
</j:when>
<j:otherwise>
<a href="${m.urlName}" title="${m.displayName}">
<j:set var="iconUrl" value="${icon.startsWith('/') ? resURL+icon : imagesURL + '/48x48/' + icon}" />
<img class="icon" src="${iconUrl}" alt="manage-option"/>
<dl>
<dt>${m.displayName}</dt>
Expand Down

0 comments on commit f9b3b4d

Please sign in to comment.