Skip to content

Commit

Permalink
Item15145: add multiple attr to file inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Jun 16, 2022
1 parent 1d25460 commit 69802e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PatternSkin/templates/attach.pattern.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class="foswikiHelp"
%TMPL:P{"previous"}%%IF{"$ATTACHFILESIZELIMIT > 0" then="%MAKETEXT{"Upload up to [_1] KB." args="%ATTACHFILESIZELIMIT%"}%"}%

<noautolink><input type="hidden" name="filename" value="%FILENAME%" />
<input class="foswikiInputField" type="file" name="filepath" value="%FILEPATH%" size="70" /></noautolink>
<input class="foswikiInputField" type="file" name="filepath" value="%FILEPATH%" size="70" multiple /></noautolink>
</div>
%TMPL:P{context="BatchUploadPluginEnabled" then="batchupload"}%%TMPL:END%

Expand Down
2 changes: 1 addition & 1 deletion core/templates/attach.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%MAKETEXT{"Attach new file"}%
</td><td>
<noautolink><input type="hidden" name="filename" value="%FILENAME%" />
<input type="file" name="filepath" value="%FILEPATH%" size="50" /></noautolink>
<input type="file" name="filepath" value="%FILEPATH%" size="50" multiple /></noautolink>
</td>
</tr>%TMPL:END%

Expand Down

0 comments on commit 69802e4

Please sign in to comment.