Developer forum

Forum » Development » Custom Addin for product edit

Custom Addin for product edit

Rui Silva
Reply

I’ve created a custom add-in for the product edit that take some actions in the database.

But I’m having an issue with the server side click method only be called after the second time the user click on the button. The button has a simple confirm in client script to avoid any mistaken click on the button, and I’ve tried to remove this JavaScript button and the issue remains.

The server side click method is only called after the second time the button is pressed (see video with example: https://www.screencast.com/t/QvtOV60iRi). I’ve noticed that the client script is changed, but I has expecting that the server method should be always called.

Any clue why this happens?


Replies

 
Nicolai Pedersen
Reply

Nope, have not see that before. Check your console in the browser.

 
Rui Silva
Reply

Hi Nicolai,

I've no errors on the console if that you were trying to know.

 

 

You must be logged in to post in the forum