Implement local file upload with form.
This fixes the issue that after selecting a file it cannot be uploaded directly again without selecting another file in between.
This commit is contained in:
parent
ddfe2e5af3
commit
4c2624785f
4 changed files with 15 additions and 6 deletions
|
|
@ -286,7 +286,12 @@
|
|||
<div><xsl:value-of select="."/></div>
|
||||
</xsl:when>
|
||||
<xsl:when test="@type = 'file'">
|
||||
<input class="{$APPCLASS}-{@class}" type="file" data-value="{$type},{$binding}"/>
|
||||
<form class="{$APPCLASS}-{@class}" data-value="{$type},{$binding}">
|
||||
<fieldset>
|
||||
<input type="file"/>
|
||||
<input type="submit" value="Load Local File" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</xsl:when>
|
||||
<xsl:when test="@type = 'separator'">
|
||||
<hr/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue