Currently any change to the CSS or JS field in the node edit form will not be reflected in the aggregated CSS or JS cache files if preprocessing CSS/JS is enabled. This can be fixed by not allowing drupal_add_js() and drupal_add_css() to preprocess the CPN generated files. This is also recommended behaviour if CSS or JS is only used rarely on the site such as it is the case for node specific CSS/JS.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | cpn-n1423408-3.patch | 2.3 KB | damienmckenna |
| #2 | cpn-n1423408-2.patch | 1.5 KB | damienmckenna |
| #1 | cpn-1423408-1.patch | 1.17 KB | fuerst |
Comments
Comment #1
fuerst commentedPlease see the attached patch.
Comment #2
damienmckennaThis version of the patch adds a settings option to control whether preprocessing is enabled.
Comment #3
damienmckennaMissed the admin page.
Comment #4
damienmckennaMarking this as a duplicate of #1850902: Aggregation control for CPN as it splits the CSS and JS aggregation into two separate options, as it should be.