Spirit Airlines says union pilots have agreed to extend indefinitely an injunction barring them from conducting a work slowdown while the two sides negotiate over a new contract.

The airline said Thursday that the injunction will stay in effect until pilots ratify a new contract or federal mediators determine that further talks aren’t likely to help.

The Air Line Pilots Association did not comment immediately.

A federal judge in Florida granted a temporary injunction Tuesday after Spirit said it had to cancel about 300 flights because of a pilot shortage. The airline said pilots refused to pick up extra flying, even at double pay, to gain leverage over the company in contract negotiations.

Spirit says pilots have been urged to resume picking up extra flight assignments.

This article was written by The Associated Press from The Associated Press and was legally licensed through the NewsCred publisher network. Please direct all licensing questions to legal@newscred.com.

Photo Credit: Spirit's pilots have agreed not to contest a temporary restraining order implemented this week by a South Florida federal judge. The airline accused pilots of orchestrating a work slowdown. Spirit Airlines