AJAX Error Behavior
Categories
Component ID
2810177
Component name
AJAX Error Behavior
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
1297
Component created
Component changed
Component body
Drupal version 7.51+ required: This is because it was when #2808789: Fix "An AJAX HTTP request terminated abnormally" alert after user has navigated away from the page was included.
Prior to the previously mentioned patch, they were always shown in an alert box. With the patch, they are shown except when the page is unloaded (i.e. browsed away).
This module adds extra behaviors:
- Alert: Shows the error always on an alert - Previous behavior.
- Console: Shows the error always on the browser console, if present - Useful for debugging, otherwise hide them completely.
- Custom alert + watchdog: Shows a configurable alert to the user and sends another AJAX call to log the error to the watchdog This feature has flood protection.
