Currently the wrapper function in file "js/token.js" looks like this:

(function ($) {

  Drupal.behaviors.tokenTree = {};

})(jQuery, drupalSettings);

I think it should looks like this:

(function ($, Drupal, drupalSettings) {

  Drupal.behaviors.tokenTree = {};

})(jQuery, Drupal, drupalSettings);
Members fund testing for the Drupal project. Drupal Association Learn more


Sweetchuck created an issue. See original summary.

Sweetchuck’s picture

Status: Active » Needs review
301 bytes
rjjakes’s picture

Agreed, as per:

I tested the patch and it applies.

rjjakes’s picture

Status: Needs review » Reviewed & tested by the community