Problem/Motivation

The bug is that the favicon javascript is run regardles of whether the favicon option is checked.

We have a checkbox on the environment indicator settings form that give the illusion that you have a choice as to whether the tinycon javascript loads.

Steps to reproduce

Do not choose the favicon option.
Notice Tinycon library continues to load.

Proposed resolution

Separate Tinycon into its own library and use favicon option to determine inclusion.

Remaining tasks

Create a merge request to separate Tinycon library.

User interface changes

N/A

API changes

Selecting favicon option should include the library.

Data model changes

N/A

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

trackleft2 created an issue. See original summary.

trackleft2’s picture

This merge request separates out the Tinycon and favicon functionality into separate libraries from the environment_indicator/drupal.environment_indicator library.

Using the favicon option in environment_indicator.settings and the Drupal libraries and javascript APIs we can serve the Tinycon and favicon libraries.

trackleft2’s picture

Status: Active » Needs review
trackleft2’s picture

trackleft2’s picture

Category: Feature request » Bug report
Issue summary: View changes

trackleft2 changed the visibility of the branch 4.x to hidden.

  • trackleft2 committed 21ccf330 on 4.x
    Close #3484495 Make favicon library tied to favicon option.
    
trackleft2’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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