[TYPO3-dev] Weird pagetree refresh

Christian Futterlieb christian at futterlieb.ch
Fri Jul 4 10:59:35 CEST 2014


Hi list

I try to refresh the pagetree from within my backend module (under web_)
and force a specific page to be selected.

I use following js:

top.fsMod.recentIds['web'] = 1;
if (top.TYPO3.Backend.NavigationContainer.PageTree) {
    top.TYPO3.Backend.NavigationContainer.PageTree.refreshTree();
}

Basically it works, the pagetree reloads. But after reloading, the page
is only selected (highlighted), when I came from page 0. When I select a
subpage, the tree gets reloaded and displays without any page highlighted.

My pagetree:

_ TYPO3 Site (#0)
 \_ typo3testpage.local (#1)
   \_ subpage 1 (#2)
   | \_ subsubpage 1.2 (#4)
   |_ subpage 2 (#3)


Do I miss something or might this be a bug?

Kind regards, Christian



More information about the TYPO3-dev mailing list