Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
3f4a54b6
Commit
3f4a54b6
authored
Jun 26, 2018
by
Chirag Bhatia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix for #48378 - Resetting value of input element to fix Chrome-specific issue
parent
dd949b0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
app/assets/javascripts/profile/gl_crop.js
app/assets/javascripts/profile/gl_crop.js
+2
-1
changelogs/unreleased/48378-avatar-upload.yml
changelogs/unreleased/48378-avatar-upload.yml
+5
-0
No files found.
app/assets/javascripts/profile/gl_crop.js
View file @
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
);
...
...
changelogs/unreleased/48378-avatar-upload.yml
0 → 100644
View file @
3f4a54b6
---
title
:
Fixes issue with uploading same image to Profile Avatar twice
merge_request
:
20161
author
:
Chirag Bhatia
type
:
fixed
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