Closed (fixed)
Project:
Suggested Terms
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Jun 2013 at 20:01 UTC
Updated:
20 Aug 2013 at 17:41 UTC
Jump to comment: Most recent file
Once you turn on the "Aggregate JavaScript files" feature on your site, suggestedterms.js breaks and the JS magic no longer works. We probably need to port this to the D7 behaviors stuff:
(function ($) {
Drupal.behaviors.suggestedTerms = {
attach: function (context) {
...
}
};
})(jQuery);
I might take a stab at this in the next few days. For now, I can just disable the JS aggregation, but it'd be nice to leave that on once this site goes live. ;)
Thanks,
-Derek
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2021809-1.suggestedterms-js-D7.patch | 4.7 KB | dww |
Comments
Comment #1
dwwHeh, I actually need this now since I can't disable JS aggregation in the environment where it matters. :/
Luckily, I was right and this was easy to solve by wrapping the existing JS in the Drupal.behaviors stuff.
Comment #2
bbinkovitz commentedCommitted.
Comment #3
dwwGreat, thanks! (Just got back online after being away for a while)