Commit 869f45b3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix assign-to-me buttton

parent 53cc9df4
...@@ -90,6 +90,6 @@ ...@@ -90,6 +90,6 @@
}); });
$('.assign-to-me-link').on('click', function(e){ $('.assign-to-me-link').on('click', function(e){
$('#issue_assignee_id').val("#{current_user.id}").trigger("liszt:updated"); $('#issue_assignee_id').val("#{current_user.id}").trigger("chosen:updated");
e.preventDefault(); e.preventDefault();
}); });
:plain :plain
$(".target_branch").html("#{escape_javascript(options_for_select(@target_branches))}"); $(".target_branch").html("#{escape_javascript(options_for_select(@target_branches))}");
$(".target_branch").trigger("liszt:updated"); $(".target_branch").trigger("chosen:updated");
$(".mr_target_commit").html(""); $(".mr_target_commit").html("");
$(".target_branch").trigger("change"); $(".target_branch").trigger("change");
\ No newline at end of file
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