From 9ad36d04c3a352afc6f9a1322c7401200332877a Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Tue, 2 Feb 2016 23:05:16 +0100 Subject: reload and fold all button --- src/web/js/actions/MenuActions.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/web/js/actions/MenuActions.js') diff --git a/src/web/js/actions/MenuActions.js b/src/web/js/actions/MenuActions.js index d3a0d25d..b9154581 100644 --- a/src/web/js/actions/MenuActions.js +++ b/src/web/js/actions/MenuActions.js @@ -26,6 +26,12 @@ var MenuActions = { filter: filter, }); }, + toggleAllFolding: function(all_folded) { + JarrDispatcher.dispatch({ + type: ActionTypes.TOGGLE_MENU_FOLD, + all_folded: all_folded, + }); + }, }; module.exports = MenuActions; -- cgit