debian-mirror-gitlab/app/assets/javascripts/issue_status_select.js.coffee

12 lines
267 B
CoffeeScript
Raw Normal View History

2016-06-02 11:05:42 +05:30
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")
)