Ticket #252 (closed defect: fixed)
Automatically include aBlog.css and aBlog.js into a project if blogs are enabled
| Reported by: | stephenrs | Owned by: | dordille |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.4 |
| Component: | apostropheBlogPlugin | Version: | trunk |
| Keywords: | lab-day | Cc: | hillerj, rickybanister, geoffd, agilbert, dordille, johnnyoffline, |
| Symfony version: | 1.4 |
Description
The checkAndSetPublish() function is defined in /js/aBlog.js, but aBlog.js is never explicitly included by the plugin, causing aBlogAdmin to malfunction - due to the call to the function in /modules/aBlogAdmin/templates/_optionsform.php.
According to changeset:887 aBlog.js should be added to view.yml, but it seems to me that the plugin should include it out of the box, perhaps as part of the other dependencies loaded in _assets.php.
Note: adding the file to view.yml does in fact make the error go away.

