I am getting "Uncaught TypeError: Cannot read property 'path' of undefined" in ProcessPageList.js:155
code:
if(options.selectShowPageHeader) { $.getJSON(options.ajaxURL + "?id=" + options.selectedPageID + "&render=JSON&start=0&limit=0", function(data) { var parentPath = data.page.path; parentPath = parentPath.substring(0, parentPath.length-1); parentPath = parentPath.substring(0, parentPath.lastIndexOf('/')+1); var label = options.selectedPageID > 0 ? '<span class="detail">' + parentPath + '</span> ' + data.page.label : ''; $root.children(".PageListSelectHeader").find(".PageListSelectName").html(label); });
And in template's settings page, under Parent, I get Uncaught TypeError: Cannot read property 'numChildren' of undefined ProcessPageList.js:323
PHP Version is 5.3.2-1ubuntu4.20
System: Linux rs206486 2.6.32-37-server #81-Ubuntu SMP Fri Dec 2 20:49:12 UTC 2011 x86_64