jQuery.telligent.evolution.navigationConfirmation
The navigation confirmation module enables confirmation pop-ups when navigating away from the page by clicking an unregistered link or button.
Methods
configure
Configures the message shown when the navigation confirmation is rendered. This is automatically set to a standard evolution-wide message. Note that this configuration is global. Only a single confirmation can be rendered. Options include:
$.telligent.evolution.navigationConfirmation.configure(options)
options:
*baseUrl
: the base URL of the site.
enable
Enables the navigation confirmation message. All actions that would navigate to a new URL not performed through a registered element's click event will cause the confirmation to be displayed.
$.telligent.evolution.navigationConfirmation.enable()
register
Registers an element, a jQuery selector, or a jQuery collection representing safe elements to prevent the navigation confirmation when clicked.
$.telligent.evolution.navigationConfirmation.register(elements)
ignoreClick
Enabled backwards compatibility with the preview ASP.Net control-based implementation. Temporary disables the navigation confirmation message.
$.telligent.evolution.navigationConfirmation.ignoreClick()