Issue Bug Closed

#80243TYPO3/CMS/Backend/ContextMenuActions only respects PageTree

Commerce Team 03/12/17, 10:27 updated 08/24/17, 21:10

Description

Currently TYPO3/CMS/Backend/ContextMenuActions uses methods of the PageTree directly like for example.

ContextMenuActions.disableRecord = function (table, uid) {
top.TYPO3.Backend.ContentContainer.setUrl(
top.TYPO3.settings.RecordCommit.moduleUrl + ‘&data[’ + table + ‘][’ + uid + ‘][hidden]=1&prErr=1&redirect=’ + ContextMenuActions.getReturnUrl()
);
top.TYPO3.Backend.NavigationContainer.PageTree.refreshTree.defer(500);
};

This prevents custom trees from being refreshed after an element was disabled.

There needs to be a solution on how to refresh custom trees.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.