To answer your question it happens 1 or 2 times a day throughout the world, the vast majority being isolated and the aircraft continues to destination, just as it sounds like yours was. Extremely unlikely to be fog in flight because the cabin air is far too dry, on the ground maybe, maybe a recirculation fan shat itself, that would be a pretty common cause of smoke and why the vents would have been turned off...