Commit 46b9aafc396278a9ce0732d9a877ca01c45dbc0e
1 parent
d861023c
Exists in
master
and in
4 other branches
add missing selector to projects.js
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/assets/javascripts/projects.js.coffee
| 1 | window.Projects = -> | 1 | window.Projects = -> |
| 2 | $('#project_name').on 'change', -> | 2 | $('#project_name').on 'change', -> |
| 3 | slug = slugify $(@).val() | 3 | slug = slugify $(@).val() |
| 4 | - $('#project_code').val slug | 4 | + $('#project_code, #project_path').val slug |
| 5 | 5 | ||
| 6 | $('.new_project, .edit_project').on 'ajax:before', -> | 6 | $('.new_project, .edit_project').on 'ajax:before', -> |
| 7 | $('.project_new_holder, .project_edit_holder').hide() | 7 | $('.project_new_holder, .project_edit_holder').hide() |