gitlab-org--gitlab-foss/app/assets/javascripts/merge_requests.js.coffee
Dmitriy Zaporozhets b05a67f4e3
Split merge request coffee
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-18 16:22:57 +02:00

8 lines
204 B
CoffeeScript

#
# * Filter merge requests
#
@merge_requestsPage = ->
$('#assignee_id').select2()
$('#milestone_id').select2()
$('#milestone_id, #assignee_id').on 'change', ->
$(this).closest('form').submit()