Commit 869f45b36a0efbe8839afb9c4367ae84b68cd375
1 parent
53cc9df4
Exists in
master
and in
4 other branches
Fix assign-to-me buttton
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/views/projects/issues/_form.html.haml
| ... | ... | @@ -90,6 +90,6 @@ |
| 90 | 90 | }); |
| 91 | 91 | |
| 92 | 92 | $('.assign-to-me-link').on('click', function(e){ |
| 93 | - $('#issue_assignee_id').val("#{current_user.id}").trigger("liszt:updated"); | |
| 93 | + $('#issue_assignee_id').val("#{current_user.id}").trigger("chosen:updated"); | |
| 94 | 94 | e.preventDefault(); |
| 95 | 95 | }); | ... | ... |
app/views/projects/merge_requests/update_branches.js.haml
| 1 | 1 | :plain |
| 2 | 2 | $(".target_branch").html("#{escape_javascript(options_for_select(@target_branches))}"); |
| 3 | - $(".target_branch").trigger("liszt:updated"); | |
| 3 | + $(".target_branch").trigger("chosen:updated"); | |
| 4 | 4 | $(".mr_target_commit").html(""); |
| 5 | - $(".target_branch").trigger("change"); | |
| 6 | 5 | \ No newline at end of file |
| 6 | + $(".target_branch").trigger("change"); | ... | ... |