Cook onion in butter until tender. Combine cooked or grated potatoes and onion. Add flaked fish, salt, pepper, parsley, and egg. Mix well. Form into cakes and roll in bread crumbs. Fry in hot fat till golden on both sides.