Run javascript after the Episerer edit mode page tree is fully loaded

Tomas Hensrud Gulla
Member since: 2010

In a multi language site not all pages are available in all languages. If I change edit language to english, the pages that are only available in norwegian be shown in a gray font with the language code to the right.

I would like to display the name of the language instead of the language code. One site has a lot of (strange looking) language codes, and the editors do not recognize all. The substitution could be done with jquery (although changing the markup would be better, of course).

But, how do I registere the javascript for execution after the page tree is fully loaded? Can it be done?

#192045 Edited, May 04, 2018 8:21