Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Log Context

No security coverage

Part of the LOG ecosystem · 7 projects

View on drupal.org

This is a Dev module

This module is intended to make local development easier. It is not intended to be installed on production sites.

What does it do?

  1. This module logs the "context" js variable to the console any time that Drupal.attachBehaviors is called.
  2. It provides a test function you can call from the console to see if your site if "ajax proof."

Why is this helpful?

These logs can help developers when AJAX is used on the page.

When AJAX is used and you haven't leveraged context or jquery.once in your scripts it is likely that front-end bugs will be introduced. For example, click handlers may be applied more than once leading to unwanted "repeating" or sometimes "destructive interference." These bugs may be easier to diagnose if this module is installed.

There are other times (like with modals) that you might think something is in context, but it really isn't. This module can help you figure that out too.

In short, ajax bugs are easier to fix when you have this module installed. See the Drupal JS API reference for more information on context.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Apr 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-1.0-alpha4 Pre-release Apr 30, 2024