For Joomla! 3.x Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Post Reply
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Aug 16, 2018 4:33 pm


Post by calicvla » Thu Aug 16, 2018 6:30 pm

addScriptDeclaration in document.php uses text/javascript in 3.8.11
to inculde neccesary scripts in head
should it be replaced to application/javascript ?
As i got text/javascript is absolete
so gzip on nginx will no work
also if you try to include both mime types in mime.conf you will get a warning
of dublicate for js files it means this is not the way

User avatar
Joomla! Ace
Joomla! Ace
Posts: 1685
Joined: Thu Sep 13, 2007 11:39 am
Location: UK

Re: text/javascript

Post by fcoulter » Fri Aug 17, 2018 11:51 am

I suggest that you post this to the Joomla issue tracker: https://issues.joomla.org/tracker/
http://www.spiralscripts.co.uk for Joomla! extensions
http://www.fionacoulter.com/blog my personal website
Security Forum moderator :: VEL team member
"Wearing my tin foil hat with pride"

Post Reply

Return to “Joomla! 3.x Coding”