[TASK] Reload module menu upon extension install from TER 65/36265/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 26 Jan 2015 10:58:33 +0000 (11:58 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 29 Jan 2015 19:51:18 +0000 (20:51 +0100)
Reloads the module menu after installing an extension from TER. The
list gets already reloaded if (un)installing an extension from the local
extension list.

Resolves: #64503
Releases: master
Change-Id: I9725ce720a3265c3587df9e472a42f5d9c445f6c
Reviewed-on: http://review.typo3.org/36265
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/extensionmanager/Resources/Public/JavaScript/Main.js

index 59ce5e2..cbb740f 100644 (file)
@@ -442,6 +442,7 @@ define(['jquery', 'datatables', 'jquery/jquery.clearable'], function($) {
                                                successMessage += '</ul>';
                                        });
                                        top.TYPO3.Flashmessage.display(top.TYPO3.Severity.info, TYPO3.lang['extensionList.dependenciesResolveFlashMessage.title'].replace(/\{0\}/g, data.extension), successMessage, 15);
+                                       top.TYPO3.ModuleMenu.App.refreshMenu();
                                }
                        }
                });