Within the last few weeks we’ve begun seeing an issue where pagetitle components retrieved do not include an ‘editor’. We use this to display messages to our users in a lot of different contexts/pages and this is effecting a large number of our pages. Most of these are in pageload snippets. If the snippet starts with
$(“.nx-page”).one(“pageload”, function(){
we get pagetitles found with no editor so we get ‘editor undefined’ in the js console. If it starts with
$(document.body).one(‘pageload’,function(){
we get the pagetitles the way they should be. I could easily say just switch all our functions to document.body ones, but I know you guys advise using the other method. Also not all of the functions we throw messages from are pageload functions and those are behaving like the .nx-page ones and giving us pagetitles that do not have editors…