add white list :: xlsm

This commit is contained in:
leejinho 2020-03-04 08:26:06 +09:00
parent 3393265b74
commit 921af8f5bb
4 changed files with 8 additions and 2 deletions

View File

@ -1201,6 +1201,10 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
this.translateService.instant('common.file.errors.failToUpload'),
this.translateService.instant('common.file.errors.label')
);
if (!!this.fileUploadQueue) {
this.fileUploadQueue.onUploadComplete();
}
},
() => {
if (!!this.fileUploadQueue) {

View File

@ -211,6 +211,7 @@ export const commonApiAcceptableFileExtensionsForDocumnet: string[] = [
'ppsx',
'xls',
'xlsx',
'xlsm',
'xlt',
'xltx',
'rtf',

View File

@ -44,6 +44,7 @@ $tablet-s-width: 768px;
}
}
&.xls,
&.xlsm,
&.xlsx {
background-image: url(/assets/images/file/icon_talk_xls.png);
&.disable {

View File

@ -162,8 +162,8 @@ $icon-list: ('3dm', '', $world), ('3dmf', '', $world), ('7z', '', $zip),
('xgz', '', $app), ('xif', '', $photo), ('xl', '', $app), ('xla', '', $app),
('xlb', '', $app), ('xlc', '', $app), ('xld', '', $app), ('xlk', '', $app),
('xll', '', $app), ('xlm', '', $app), ('xls', '', $app), ('xlsx', '', $app),
('xlt', '', $app), ('xlv', '', $app), ('xlw', '', $app), ('xm', '', $lp),
('xml', '', $app), ('xmz', '', $text), ('xpix', '', $app),
('xlsm', '', $app), ('xlt', '', $app), ('xlv', '', $app), ('xlw', '', $app),
('xm', '', $lp), ('xml', '', $app), ('xmz', '', $text), ('xpix', '', $app),
('xpm', '', $picture), ('xsr', '', $play), ('xwd', '', $pict),
('xyz', '', $app), ('z', '', $zip), ('zip', '', $zip), ('zoo', '', $app),
('zsh', '', $text);