They texted outside of work. He could make wisecracks about her "irregular sex life." Yeah, there's more to it than the article indicates.
Maintain professional behavior at the office and with your boss anytime. One should know that by the time they graduate high school.