Fix issues selects
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
2940785c17
commit
e19d05ddd6
1 changed files with 4 additions and 4 deletions
|
@ -29,10 +29,10 @@
|
||||||
$('#filter_issue_search').val($('#issue_search').val())
|
$('#filter_issue_search').val($('#issue_search').val())
|
||||||
|
|
||||||
initSelects: ->
|
initSelects: ->
|
||||||
$("select#update_status").select2()
|
$("select#update_status").select2(width: 'resolve', dropdownAutoWidth: true)
|
||||||
$("select#update_assignee_id").select2()
|
$("select#update_assignee_id").select2(width: 'resolve', dropdownAutoWidth: true)
|
||||||
$("select#update_milestone_id").select2()
|
$("select#update_milestone_id").select2(width: 'resolve', dropdownAutoWidth: true)
|
||||||
$("select#label_name").select2()
|
$("select#label_name").select2(width: 'resolve', dropdownAutoWidth: true)
|
||||||
$("#milestone_id, #assignee_id, #label_name").on "change", ->
|
$("#milestone_id, #assignee_id, #label_name").on "change", ->
|
||||||
$(this).closest("form").submit()
|
$(this).closest("form").submit()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue