Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mastofe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
35
Issues
35
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pleroma
mastofe
Commits
03309609
Verified
Commit
03309609
authored
Jul 05, 2019
by
Haelwenn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload_button.js: Accept all MIME types
parent
69c0111d
Pipeline
#17960
passed with stage
in 5 minutes and 40 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
2 deletions
+1
-2
Changelog-mastofe.txt
Changelog-mastofe.txt
+1
-0
app/javascript/flavours/glitch/features/compose/components/options.js
...pt/flavours/glitch/features/compose/components/options.js
+0
-1
app/javascript/mastodon/features/compose/components/upload_button.js
...ipt/mastodon/features/compose/components/upload_button.js
+0
-1
No files found.
Changelog-mastofe.txt
View file @
03309609
...
...
@@ -10,6 +10,7 @@ Changes
-------
- Getting-Started column: Scrolling is on the whole column rather than being
separated on each compoment
- File Upload: Remove the MIME/file-extension limitation of accepted files
Fixes
-----
...
...
app/javascript/flavours/glitch/features/compose/components/options.js
View file @
03309609
...
...
@@ -261,7 +261,6 @@ class ComposerOptions extends ImmutablePureComponent {
return
(
<
div
className
=
'
composer--options
'
>
<
input
accept
=
{
acceptContentTypes
}
disabled
=
{
disabled
||
!
allowMedia
}
key
=
{
resetFileKey
}
onChange
=
{
this
.
handleChangeFiles
}
...
...
app/javascript/mastodon/features/compose/components/upload_button.js
View file @
03309609
...
...
@@ -70,7 +70,6 @@ class UploadButton extends ImmutablePureComponent {
ref
=
{
this
.
setRef
}
type
=
'
file
'
multiple
accept
=
{
acceptContentTypes
.
toArray
().
join
(
'
,
'
)}
onChange
=
{
this
.
handleChange
}
disabled
=
{
disabled
}
style
=
{{
display
:
'
none
'
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment