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.failToUpload'),
this.translateService.instant('common.file.errors.label') this.translateService.instant('common.file.errors.label')
); );
if (!!this.fileUploadQueue) {
this.fileUploadQueue.onUploadComplete();
}
}, },
() => { () => {
if (!!this.fileUploadQueue) { if (!!this.fileUploadQueue) {

View File

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

View File

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

View File

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