Displaying a Modal dialogue in an action instead of a Notification
Here's a simplified version of the code I've written to deduct credits from a user.
Is there a straightforward way for the second notification (which is fired on
InsufficientCreditsException
) to be a modal dialogue instead of a notification?
It's all working fine, but the users don't always notice when there's a notification so I want to change it to something a bit more "in your face" which forces the user to read and click a button to dismiss it before they can use the page again.
0 Replies