e8a467e094
Also License dropdown has been ported to use our GL dropdown instead of Select2. Fixes tests to make it work with current implementation
9 lines
273 B
CoffeeScript
9 lines
273 B
CoffeeScript
#= require blob/template_selector
|
|
|
|
class @BlobLicenseSelector extends TemplateSelector
|
|
requestFile: (query) ->
|
|
data =
|
|
project: @dropdown.data('project')
|
|
fullname: @dropdown.data('fullname')
|
|
|
|
Api.licenseText query.id, data, @requestFileSuccess.bind(@)
|