Salt was used as a slang for someone who did something stupid. Alternatively, it is used to mean someone who is embarrassed or proven wrong in some way.