Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Extending OnClick Event of Notifications Hyperlink #9

Open
US-Ali opened this issue Aug 22, 2018 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@US-Ali
Copy link

US-Ali commented Aug 22, 2018

When the link in the Toast or Dialog Box notification is clicked, can their be an optional parameter for the dialog box to close without the user clicking any of the buttons (OK, YES or NO)?

For example, if a link is clicked to either open a form, run a user defined function or simply to visit a website, the click event should also be able to close the dialog box especially for an OK only dialog box. BUT this should be an option as there might be instances when you need to still keep the dialog box open until the user clicks OK.

@krishKM krishKM added the enhancement New feature or request label Aug 22, 2018
@krishKM
Copy link
Owner

krishKM commented Aug 22, 2018

This feature has been added. Please use closeme="true" attribute in anchor tags. I.e
<a href="SomeFunctionORLink" closeme="true"></a>

closeme=true will close the dialog without specifying any dialog result.

Get the the latest sample database and try it out. Thank you for your contributions.

@US-Ali
Copy link
Author

US-Ali commented Aug 23, 2018

I tried this and it's working well as intended. For those following this, "closeme" is case sensitive.

This will work: <a href="SomeFunctionORLink" closeme="true"></a>
This will not work: <a href="SomeFunctionORLink" CloseMe="true"></a>

@US-Ali US-Ali closed this as completed Aug 23, 2018
@US-Ali US-Ali reopened this Aug 23, 2018
@US-Ali US-Ali closed this as completed Aug 23, 2018
@US-Ali US-Ali reopened this Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants