add missing selector to projects.js

This commit is contained in:
Nihad Abbasov 2012-09-06 07:56:33 -07:00
parent d861023cb9
commit 46b9aafc39

View file

@ -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()