Problem/Motivation

The help text for "Disable JavaScripts" in 7.x contains a reference to libraries, which is a D8 feature.

If you also want to conditionally load a library, place that as the third parameter, following another | (vertical bar). Example: modules/custom/custom_module/js/custom.js|customModule|custom_module/custom_module.
If your script file does not attach to Drupal.attributes, you may skip the second parameter. Example: modules/custom/custom_module/js/custom.js||custom_module/custom_module
Note that Drupal behavior name and library parameters are both optional

The text quoted above should be fixed to remove references to libraries.

Comments

svenryen created an issue. See original summary.

svenryen’s picture

  • svenryen committed e109baf on 7.x-1.x
    Issue #3173674 by svenryen: Remove reference to libraries in 7.x help...
svenryen’s picture

Status: Active » Fixed

  • svenryen committed 062e4fb on 7.x-2.x
    Merge branch '7.x-1.x' into 7.x-2.x
    
    * 7.x-1.x:
      Issue #3175031 by...
  • svenryen committed e109baf on 7.x-2.x
    Issue #3173674 by svenryen: Remove reference to libraries in 7.x help...

Status: Fixed » Closed (fixed)

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