Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIOS Assignment to EXTRA_JS #1825

Closed
bhsmither opened this issue Dec 3, 2017 · 1 comment
Closed

AIOS Assignment to EXTRA_JS #1825

bhsmither opened this issue Dec 3, 2017 · 1 comment
Assignees
Labels

Comments

@bhsmither
Copy link
Contributor

The AIOS module, admin.inc.php file is using Smarty->assign() an array to EXTRA_JS.

Suggest using Smarty->append() a string to EXTRA_JS as a requirement for modules.

This allows for other non-plugins to add their javascript files. (Only plugins can use hooks.)

@abrookbanks abrookbanks self-assigned this Feb 22, 2018
@abrookbanks
Copy link
Member

Thanks for this. Confirmed working with AIOS 1.0.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants