Hello, I want to get the custom data from a dialog when clicking the submit button I try to do
AP.events.on ('dialog.button.click', function (data)
{
AP.dialog.getCustomData (function (customData) {
if (data.button.name === 'submit')
{
//console.log(customData.action);
}
});
}); but it didn't work ,no output is present In the middle of the function getCustomData
Many thinks !