瀏覽代碼

allow any types

Yuki Takei 9 年之前
父節點
當前提交
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) {