What do you call a person who is dogmatic in their opinion until someone they see as an authority has an opposing view, and they then flip?

I used to think this was actually being dogmatic, but when I actually wrote that the other day I decided to check myself, and it doesn't appear to be the case, however I'm fairly certain there is a word for this behavior, this deference to select authority (e.g. someone doesn't believe in climate change regardless of the scientific consensus but then some radio personality he/she listens to starts espousing the danger and suddenly the person then believes in climate change).


Solution 1:

capricious - subject to, led by, or indicative of a sudden, odd notion or unpredictable change; erratic:

http://www.dictionary.com/browse/capricious

You could say that the individual shows a capricious discipline in the face of authority.