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);
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | token-2668568-2-closure-variables.patch | 301 bytes | sweetchuck |
Comments
Comment #2
sweetchuckComment #3
rjjakes commentedAgreed, as per: https://www.drupal.org/node/2269515
I tested the patch and it applies.
Comment #4
rjjakes commentedComment #5
berdirCommitted.