When creating a new project, have the possibility to select another project to duplicate
This commit is contained in:
@@ -15,4 +15,14 @@ Project.prototype.listen = function() {
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
$('#project-creation-form #form-src_project_id').on('change', function() {
|
||||
var srcProjectId = $(this).val();
|
||||
|
||||
if (srcProjectId == 0) {
|
||||
$(".project-creation-options").hide();
|
||||
} else {
|
||||
$(".project-creation-options").show();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user