cancel
Showing results for 
Search instead for 
Did you mean: 

Share form dependencies

lasius
Champ in-the-making
Champ in-the-making
In 4.0.e this code in share-config-custom.xml works well:


<forms>
   <dependencies>
      <css src="/css/something.css" />
      <js src="/scripts/somethingr.js" />
   </dependencies>
</forms>


But in 4.2.c this is just not work. How can I include js and css in all forms?
1 REPLY 1

lasius
Champ in-the-making
Champ in-the-making
Ok, I figured out, that I should use it like:

<js src="scripts/somethingr.js" />

i.e without slash. But it works once, now my scripts doesn't load again. I'm confused.