An injunction to stay proceedings on a judgment or final order of a court shall not be granted in an action brought by the party seeking the injunction in any other court than that in which the judgment or order was rendered or made, nor shall such injunction be granted by any officer unless the party applying therefor makes affidavit that no injunction has been previously granted to stay the proceedings on the judgment or order.