[TASK] Do not close fly out when closing a document 92/40492/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sat, 20 Jun 2015 15:49:16 +0000 (17:49 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 Jun 2015 09:11:40 +0000 (11:11 +0200)
Resolves: #67567
Releases: master
Change-Id: Ie4a49eb5079dcde051c47fa1640de935eb5d2764
Reviewed-on: http://review.typo3.org/40492
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/opendocs/Resources/Public/JavaScript/Toolbar/OpendocsMenu.js

index b40275c..af90716 100644 (file)
@@ -94,6 +94,8 @@ define('TYPO3/CMS/Opendocs/Toolbar/OpendocsMenu', ['jquery'], function($) {
                        success: function(data) {
                                $(OpendocsMenu.options.menuContainerSelector, OpendocsMenu.options.containerSelector).html(data);
                                OpendocsMenu.updateNumberOfDocs();
+                               // Re-open the menu after closing a document
+                               $(OpendocsMenu.options.containerSelector).toggleClass('open');
                        }
                });
        };