Commit 1b592f8c authored by Mike Greiling's avatar Mike Greiling

Merge branch 'avatar-upload' into 'master'

Bugfix for #48378 - Resetting value of input element to fix Chrome-specific issue

See merge request gitlab-org/gitlab-ce!20161
parents 0a73f646 3f4a54b6
......@@ -47,7 +47,8 @@ import _ from 'underscore';
var _this;
_this = this;
this.fileInput.on('change', function(e) {
return _this.onFileInputChange(e, this);
_this.onFileInputChange(e, this);
this.value = null;
});
this.pickImageEl.on('click', this.onPickImageClick);
this.modalCrop.on('shown.bs.modal', this.onModalShow);
......
---
title: Fixes issue with uploading same image to Profile Avatar twice
merge_request: 20161
author: Chirag Bhatia
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment