Skip to content

Commit

Permalink
Merge pull request #41 from timja/style-file-upload
Browse files Browse the repository at this point in the history
Apply upcoming core styling to file upload
  • Loading branch information
jglick authored Jan 3, 2023
2 parents ed2b9cf + bfde73d commit 1bdf8bd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ THE SOFTWARE.
<j:choose>
<j:when test="${instance == null}">
<f:entry title="${%File}" field="file">
<input type="file" name="file" size="40" jsonAware="yes"/>
<!-- TODO 2.385+ switch to f:file -->
<input type="file" name="file" class="jenkins-file-upload" size="40" jsonAware="yes"/>
</f:entry>
</j:when>
<j:otherwise>
Expand All @@ -40,7 +41,8 @@ THE SOFTWARE.
<f:optionalBlock title="${%Replace}" inline="true">
<f:entry title="${%Filename}">${instance.fileName}</f:entry>
<f:entry title="${%File}" field="file">
<input type="file" name="file" size="40" jsonAware="yes"/>
<!-- TODO 2.385+ switch to f:file -->
<input type="file" class="jenkins-file-upload" name="file" size="40" jsonAware="yes"/>
</f:entry>
</f:optionalBlock>
</j:otherwise>
Expand Down

0 comments on commit 1bdf8bd

Please sign in to comment.