问题

It was on my way back home ______ my teacher made the promise______I can do nicely next exam I will buy me a set of LuXun’s Complete Works.

A:when; that
B:when; that if
C:that; why
D:that; that if
正确答案是: