Commit a0e3893d1bf5166b2ca672baedb6aea54a47b227
1 parent
01b98970
Exists in
spb-stable
and in
3 other branches
Fix assign-to-me link for MR form
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/projects/merge_requests/_form.html.haml
... | ... | @@ -90,6 +90,6 @@ |
90 | 90 | $.get("#{branch_to_project_merge_requests_path(@source_project)}", {target_project_id: target_project.val(),ref: $(this).val() }); |
91 | 91 | }); |
92 | 92 | $('.assign-to-me-link').on('click', function(e){ |
93 | - $('#merge_request_assignee_id').val("#{current_user.id}").trigger("select2:updated"); | |
93 | + $('#merge_request_assignee_id').val("#{current_user.id}").trigger("change"); | |
94 | 94 | e.preventDefault(); |
95 | 95 | }); | ... | ... |