Project

General

Profile

Actions

Bug #80243

closed

TYPO3/CMS/Backend/ContextMenuActions only respects PageTree

Added by Commerce Team over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-03-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF