(CNN) — A transatlantic flight was forced to divert to the Republic of Ireland because a pilot spilled a cup of coffee on the aircraft's controls, it has emerged.

According to the Air Accidents Investigation Branch , the Airbus A330-243, operated by Condor, was traveling from Frankfurt in Germany to Cancún in Mexico on February 6 when it was forced to jettison fuel and divert to Shannon airport.

The 49-year-old pilot, who has over 13,000 hours of flying experience, had been given a cup of coffee without a lid by cabin crew and accidentally knocked it over as the plane was flying over the North Atlantic Ocean, carrying 11 crew and 326 passengers.

Some of the liquid spilled onto the audio control panel, which became very hot and produced smoke and a burning smell. The damage caused "significant communication difficulty for the flight crew," and forced them to wear oxygen masks, the report said.

The equipment became so hot that one of the buttons on the control panel began to melt, which prompted the pilot to divert.

Related content Young man caught posing as senior citizen to fly to US

The Air Accidents Investigation Branch said there were no injuries and that the airline had since changed its procedures to ensure cup lids are provided for flights on all routes.

"The operator also issued a flight crew notice reminding pilots to be careful with liquids," it said.

A spokesperson for Condor -- part of the Thomas Cook Group -- told CNN in a statement: "Flight DE2116 from Frankfurt to Cancun on February 6, 2019, diverted to Shannon airport as a precautionary measure due to a minor amount of smoke in the cockpit after a liquid spillage.