Joerg Koch / Invision/AP 1 / 15
Joerg Koch / Invision/AP 1 / 15

By Amber GoodhandRadar Staff Reporter

"American Idol" judge Jennifer Lopez had a major wardrobe malfunction on Saturday while filming a German television show and has the photos.

The sexy "On The Floor" singer's dress accidentally flew open, revealing more than intended.

Lopez was in Palma, Spain shooting a spot for Germany's Wetten Dass when she pulled the Janet Jackson-esque nip-slip.

The 41-year-old skyrocketed as a favorite on Idol, but recently told BBC she's not sure if she'll be returning for another season on the hit Fox TV show.

When asked if she'd return, Lopez said, "You know, this is the question of the hour. I don't know, I don't know."

"I had an amazing time doing it and I loved it, but I have a lot of other things happening, and it's gonna come down to making a choice of really what I want to do for the next year."