b80dd3d242
Merge branch 'master' into non-interactive-aws-install Conflicts: doc/installation.md Fix merge mess in installation.md
17 lines
470 B
JavaScript
17 lines
470 B
JavaScript
function Projects() {
|
|
$("#project_name").live("change", function(){
|
|
var slug = slugify($(this).val());
|
|
$("#project_code").val(slug);
|
|
$("#project_path").val(slug);
|
|
});
|
|
|
|
$('.new_project, .edit_project').live('ajax:before', function() {
|
|
$('.project_new_holder, .project_edit_holder').hide();
|
|
$('.save-project-loader').show();
|
|
});
|
|
|
|
$('form #project_default_branch').chosen();
|
|
|
|
disableButtonIfEmtpyField("#project_name", ".project-submit")
|
|
}
|