Browse Source

allow any types

Yuki Takei 9 năm trước cách đây
mục cha
commit
114c7559a3
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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) {