diff --git a/Resources/Public/JavaScript/TabModuleClick.js b/Resources/Public/JavaScript/TabModuleClick.js index f91d26e..a7f86ed 100644 --- a/Resources/Public/JavaScript/TabModuleClick.js +++ b/Resources/Public/JavaScript/TabModuleClick.js @@ -94,7 +94,14 @@ define(["jquery", "TYPO3/CMS/Backend/ModuleMenu"], function($, ModuleMenu ) { * @param {string} id */ TabModuleClick.openSubModule = function (id) { - ModuleMenu.App.showModule(id); + if (typeof ModuleMenu !== 'undefined') { + ModuleMenu.App.showModule(id); + } else { + // fallback for TYPO3 8.7 + setTimeout(function () { + $('#'+id).trigger('click'); + }, 500); + } }; /**