I have a dachshund who does it too. Our vet told us to gently rub his throat chin to chest and very slightly side to side while talking to him gently to calm him. He still has the attacks, but if we can get to him in the beginning and do the stroking/talking, it seems to shorten the attacks considerably.

And I know that look the poor things get on their faces - total panic and helplessness.