Skip to content
Snippets Groups Projects
Verified Commit e7ab4b88 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #9219 accept docx in template. (pb encoding name)

parent 26bb55c0
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ class TemplateController ...@@ -32,7 +32,7 @@ class TemplateController
{ {
const AUTHORIZED_MIMETYPES = [ const AUTHORIZED_MIMETYPES = [
'application/msword', 'application/msword',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'application/vnd.ms-excel', 'application/vnd.ms-excel',
'application/vnd.ms-powerpoint', 'application/vnd.ms-powerpoint',
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<div class="col-md-12" style="display: none;"> <div class="col-md-12" style="display: none;">
<div class="form-inline hide"> <div class="form-inline hide">
<div class="form-group"> <div class="form-group">
<input type="file" name="files[]" id="uploadSignFile" (change)="uploadFileTrigger($event)" accept="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml‌.slideshow,application/vnd.oasis.opendocument.text,application/vnd.oasis.opendocument.presentation,application/vnd.oasis.opendocument.spreadsheet"> <input type="file" name="files[]" id="uploadSignFile" (change)="uploadFileTrigger($event)" accept="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml‌.slideshow,application/vnd.oasis.opendocument.text,application/vnd.oasis.opendocument.presentation,application/vnd.oasis.opendocument.spreadsheet">
</div> </div>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment