PaulNieuwelaar / alertjs

Dialog Builder allows you to create fully customisable dialogs and popups in Dynamics 365.
https://www.magnetismsolutions.com/our-products/alertjs-alert-popup-for-d365
Other
96 stars 38 forks source link

Button show after webresource is shown completely #10

Closed Hasagi111 closed 6 years ago

Hasagi111 commented 6 years ago

Hi there, I use Alert.showWebResource. Button always show before webresource is shown. How to Button show after webresource is shown completely?

PaulNieuwelaar commented 6 years ago

Hi,

I'd recommend you handle that in your button callback. E.g. if the iframe hasn't loaded, display an error rather than attempting your default button logic.

Cheers, Paul