Two requests for one add

Hello, i have one problem because i have two requests when i add a product.
Have you got an idea ?
Sorry for my english.

Hello pol, you (i) was just duplicate one javascript code. Thanks and have a good day :slight_smile: