Skip to content

Commit da96154

Browse files
committed
Fixed the uploaded file of a product attribute is lost as soon as another attribute is selected
1 parent eb8ad68 commit da96154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Presentation/SmartStore.Web/Views/Shared/ChoiceTemplates/Choice.FileUpload.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="fu-container">
1616
<div class="dropzone-container">
1717
<div class="fu-thumb fu-filename rounded" data-current-filename="@(Model.UploadedFileName)"></div>
18-
<input id="@(controlId)" name="@(controlId)" type="hidden" class="hidden" data-fileupload="true" />
18+
<input id="@(controlId)" name="@(controlId)-file" type="hidden" class="hidden" data-fileupload="true" value="@Model.UploadedFileGuid" />
1919
<div class="fu-controls">
2020
@(Html.SmartStore().FileUploader()
2121
.Name(clientId)

0 commit comments

Comments
 (0)