Commit 46b9aafc authored by Nihad Abbasov's avatar Nihad Abbasov

add missing selector to projects.js

parent d861023c
window.Projects = -> window.Projects = ->
$('#project_name').on 'change', -> $('#project_name').on 'change', ->
slug = slugify $(@).val() slug = slugify $(@).val()
$('#project_code').val slug $('#project_code, #project_path').val slug
$('.new_project, .edit_project').on 'ajax:before', -> $('.new_project, .edit_project').on 'ajax:before', ->
$('.project_new_holder, .project_edit_holder').hide() $('.project_new_holder, .project_edit_holder').hide()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment