Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_new.js.coffee « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 836269c44f93b22e3db6ac3b9a8a6756fbad2daa (plain)
1
2
3
4
5
6
7
8
9
10
11
class @ProjectNew
  constructor: ->
    $('.project-edit-container').on 'ajax:before', =>
      $('.project-edit-container').hide()
      $('.save-project-loader').show()

    @initEvents()


  initEvents: ->
    disableButtonIfEmptyField '#project_name', '.project-submit'