gitlab-org--gitlab-foss/app/assets/javascripts/issue_status_select.js.coffee
2016-03-10 13:54:54 +00:00

11 lines
267 B
CoffeeScript

class @IssueStatusSelect
constructor: ->
$('.js-issue-status').each (i, el) ->
fieldName = $(el).data("field-name")
$(el).glDropdown(
selectable: true
fieldName: fieldName
id: (obj, el) ->
$(el).data("id")
)