-
Hi, adding following code:
loads the Javascripts with the following order: xxx.initialize.js Is there a way to set ordering so the order is following: xxx.min.js The only way I can achieve this is to rename xxx.min.js to xxx.ain.js (alphabetically is a before i), but that would make it look like it's alphabetical ordering, which would be very weird. Thank you, Jan |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You mean that both scripts have the same It already should work like that. If not then I suspect some strange bug in |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for the answer, testing with enabled debug mode and everything is OK. data-asset-name and data-asset-dependencies are correct, even the ordering is correct. I did a fresh install of Joomla and even there everything is OK. So it seems like I need to check system plugins, etc., if there is something which changes the output. As it works for me on clean install, I think, it is OK in core, so this topic can be closed. I will investigate more on my current instance. Thank you very much. Jan |
Beta Was this translation helpful? Give feedback.
You mean that both scripts have the same
xxx
base name?Can you please do next: enable debug and check source code, what asset name there will be for each of this script? (look for
data-asset-name
in script tag)It already should work like that. If not then I suspect some strange bug in
HTMLHelper::script
.