Commit c19e766f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Added vendor/bundle to gitignore. Removed project js slugify

parent eb3e07a5
...@@ -23,3 +23,4 @@ db/data.yml ...@@ -23,3 +23,4 @@ db/data.yml
.idea .idea
.DS_Store .DS_Store
.chef .chef
vendor/bundle/*
window.Projects = -> window.Projects = ->
$('#project_name').on 'change', ->
slug = slugify $(@).val()
$('#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()
$('.save-project-loader').show() $('.save-project-loader').show()
......
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