Skip to content
Permalink
Browse files

[JENKINS-49129] Manage Jenkins dropdown menu no longer works

  • Loading branch information
recena committed Jan 25, 2018
1 parent 0d1f80b commit 18efa58abf2ef977c1ad168c5f245606d5385193
Showing with 2 additions and 3 deletions.
  1. +2 −3 core/src/main/resources/jenkins/model/Jenkins/manage.jelly
@@ -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>
@@ -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>
@@ -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>

0 comments on commit 18efa58

Please sign in to comment.
You can’t perform that action at this time.