From 49e35b9dcdf9717bb39edd3406e4784cdc58275c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 27 Feb 2015 10:39:02 +0100 Subject: [PATCH] Add reload client action issue4430 --- src/screen.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/screen.js b/src/screen.js index bc89fe7cff..77d4fcbcf3 100644 --- a/src/screen.js +++ b/src/screen.js @@ -837,6 +837,11 @@ } else if (action.startsWith('switch')) { var view_type = action.split(' ')[1]; this.switch_view(view_type); + } else if (action == 'reload') { + if (~['tree', 'graph', 'calendar'].indexOf(this.current_view.view_type) && + !this.group.parent) { + this.search_filter(); + } } else if (action == 'reload menu') { Sao.get_preferences().then(function(preferences) { Sao.menu(preferences);