[TYPO3-dev] Weird pagetree refresh
Christian Futterlieb
christian at futterlieb.ch
Fri Jul 4 17:35:00 CEST 2014
Hi
I figured it out myself: in js I was missing the line:
top.TYPO3.ModuleMenu.App.showModule('web_myModule');
Anyway I use now jump(); from backend.js, where the exact same procedure
is written already =)
Regards, Christian
On 04.07.14 10:59, Christian Futterlieb wrote:
> 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