12 lines
274 B
CoffeeScript
12 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'
|