debian-mirror-gitlab/app/assets/javascripts/issue_status_select.js.coffee
2016-06-02 11:05:42 +05:30

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")
)