Parcourir la source

allow any types

Yuki Takei il y a 9 ans
Parent
commit
9b64b3fe5b
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      resource/js/crowi-form.js

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

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