Problem/Motivation

The 226 TarteAuCitron services definitions are currently loaded on page by default even if only a few services are selected.

Proposed resolution

Generate a new javascript library file containing only the active services definitions.

A new hook has been added allowing other modules to customize the generated file by injecting their own JS services definitions.

The files are currently generated in the public://tacjs directory.

Issue fork tacjs-3513304

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Title: Use a javascript containing only the selected services » Generate a javascript file containing only the selected services
mably’s picture

Status: Active » Needs review
mably’s picture

Issue summary: View changes
mably’s picture

Status: Needs review » Needs work
mably’s picture

Status: Needs work » Needs review
mably’s picture

Issue summary: View changes
mably’s picture

Title: Generate a javascript file containing only the selected services » Generate a javascript file containing only the active services
Issue summary: View changes
mably’s picture

Will merge this to the 7.x development branch.

  • mably committed e8d0fc31 on 7.x
    Issue #3513304 by mably: Generate a javascript file containing only the...
mably’s picture

Version: 8.x-6.x-dev » 7.x-dev
Status: Needs review » Fixed
mably’s picture

New configuration option added in the advanced section of the dialog settings page:

New configuration option

mably’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.