gitlab-org--gitlab-foss/app/assets/javascripts/project_new.js.coffee
2015-01-26 15:59:40 -08:00

11 lines
274 B
CoffeeScript

class @ProjectNew
constructor: ->
$('.project-edit-container').on 'ajax:before', =>
$('.project-edit-container').hide()
$('.save-project-loader').show()
@initEvents()
initEvents: ->
disableButtonIfEmptyField '#project_name', '.project-submit'