Dashboard Script loading order
Permalink
Does anyone know where the asset/scrippt loading order for the dashboard is determined and if/ how i can influence that without altering the core/ dashboard theme.
The Reason for the question:
I have one project (v8.4.3) where several Dashboard UI Elements don't work the way they are supposed to. - After comparing with another project on the same version, where the same UI Elements work just fine i've noticed a difference in the script loading order. - And that indeed seems to be the cause of the problem.:
Im my case some UI Element JS only gets loaded after app.js, where i know they are utilized/ inizialized. - So those Elements do not work.
selectize.js in particular is something that seems to be affected by this problem anywhere it is used within the dashboard. - But only in this one project. I haven't seen this anywhere else.
So i don't believe it's a core Issue. - But rather something i have involuntarily changed in that project. I just need to know where/how i can set it right.
The Reason for the question:
I have one project (v8.4.3) where several Dashboard UI Elements don't work the way they are supposed to. - After comparing with another project on the same version, where the same UI Elements work just fine i've noticed a difference in the script loading order. - And that indeed seems to be the cause of the problem.:
Im my case some UI Element JS only gets loaded after app.js, where i know they are utilized/ inizialized. - So those Elements do not work.
selectize.js in particular is something that seems to be affected by this problem anywhere it is used within the dashboard. - But only in this one project. I haven't seen this anywhere else.
So i don't believe it's a core Issue. - But rather something i have involuntarily changed in that project. I just need to know where/how i can set it right.
Allthough it was a entirely different cause alltogether!