Serbia's Dusan Lajovic was forced to repair his trainers on-court during the second set of his Davis Cup match with Austria's Gerald Melzer.