Skip to content

Commit

Permalink
Fix URL of file upload action
Browse files Browse the repository at this point in the history
action="upload" in startUpload.jelly attempted to call the
SidebarLinkPlugin.doUpload method, but that was renamed to
doUploadLinkImage in commit 3ef9756
during the CasC work, so we need to use action="uploadLinkImage".
  • Loading branch information
KalleOlaviNiemitalo committed Feb 13, 2022
1 parent e92770a commit 4f35c1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<l:layout title="${%Upload image file}" type="full-screen">
<l:main-panel>
<form method="post" action="upload" enctype="multipart/form-data">
<form method="post" action="uploadLinkImage" enctype="multipart/form-data">
<span class="setting-name">${%Upload an image file:}</span>
<input type="file" name="linkimage.file" size="40"/>
<st:nbsp/>
Expand Down

0 comments on commit 4f35c1a

Please sign in to comment.