Commit f81e201c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove unused code pt.2

parent de2cd345
- if @user_project_relation.valid?
:plain
$("#new_team_member").hide("slide", { direction: "right" }, 150, function(){
$("#team-table").show("slide", { direction: "left" }, 150, function() {
$("#new_team_member").remove();
$("#team-table").replaceWith("#{escape_javascript(render('projects/team'))}");
$(".add_new").show();
});
});
- else
:plain
$("#new_team_member").replaceWith("#{escape_javascript(render('form'))}");
$('select#team_member_user_id').chosen();
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