add missing selector to projects.js
This commit is contained in:
parent
d861023cb9
commit
46b9aafc39
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
window.Projects = ->
|
||||
$('#project_name').on 'change', ->
|
||||
slug = slugify $(@).val()
|
||||
$('#project_code').val slug
|
||||
$('#project_code, #project_path').val slug
|
||||
|
||||
$('.new_project, .edit_project').on 'ajax:before', ->
|
||||
$('.project_new_holder, .project_edit_holder').hide()
|
||||
|
|
Loading…
Add table
Reference in a new issue