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

Comments

Sweetchuck created an issue. See original summary.

Sweetchuck’s picture

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

Agreed, as per: https://www.drupal.org/node/2269515

I tested the patch and it applies.

rjjakes’s picture

Status: Needs review » Reviewed & tested by the community