diff --git a/app/views/team_members/create.js.haml b/app/views/team_members/create.js.haml deleted file mode 100644 index b7dff35a269a39287d6b8af50156bda82e2ce21b..0000000000000000000000000000000000000000 --- a/app/views/team_members/create.js.haml +++ /dev/null @@ -1,13 +0,0 @@ -- 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();