Explorar el Código

allow any types

Yuki Takei hace 9 años
padre
commit
9b64b3fe5b
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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) {