Moved the onClick action for Parts to the server.