Unable to upload group avatar - save triggered by ‘Choose File…’
Summary
I’m unable to upload an avatar for my group as the page refreshes as soon as I click ‘Choose File…’
Steps to reproduce
- Go to /groups/A_GROUP/edit
- Click ‘Choose File…’
Expected behavior
File picker dialogue box displays, user chooses image to upload, clicks ‘Open’ and then Save.
Actual behavior
File picker dialogue box displays, page instantly refreshes behind dialogue, and choosing an image has no effect.
Output of checks
This bug happens on GitLab.com ;)
Possible fixes
Could be some kind of accidental binding of the ‘Choose File…’ button to the Save action/event?
Bug tested and reproducible in Chrome 55 (latest), Safari on Mac and Chrome (latest) on Android