Fix assign-to-me buttton

This commit is contained in:
Dmitriy Zaporozhets
2013-08-08 21:26:13 +03:00
parent 53cc9df4f1
commit 869f45b36a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -90,6 +90,6 @@
});
$('.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();
});
@@ -1,5 +1,5 @@
:plain
$(".target_branch").html("#{escape_javascript(options_for_select(@target_branches))}");
$(".target_branch").trigger("liszt:updated");
$(".target_branch").trigger("chosen:updated");
$(".mr_target_commit").html("");
$(".target_branch").trigger("change");
$(".target_branch").trigger("change");