Yuki Takei 9 лет назад
Родитель
Сommit
114c7559a3
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      resource/js/legacy/crowi-form.js

+ 2 - 1
resource/js/legacy/crowi-form.js

@@ -463,7 +463,8 @@ $(function() {
         _csrf: csrfToken
       },
       progressText: '(Uploading file...)',
-      urlText: "\n![file]({filename})\n"
+      urlText: "![file]({filename})\n",
+      allowedTypes: '*'
     };
 
     attachmentOption.onFileReceived = function(file) {