소스 검색

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) {