diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-09-15 20:57:10 +0300 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-09-15 21:55:00 +0300 |
commit | a7c7d84f59e6beecc67d7f8bc8e6d657a32fa121 (patch) | |
tree | 8f51267f7ae848e0e81c8ec282efefaaa4ec7fcf /apps | |
parent | ca747b91d4aa907b191119f080d213bfb5e60fd2 (diff) |
Reset global search on files sidebar navigation changefix/reset-global-search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/app.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js index 26a0ed9c084..fee89cb523d 100644 --- a/apps/files/js/app.js +++ b/apps/files/js/app.js @@ -323,6 +323,7 @@ this._changeUrl(params.view, params.dir); OC.Apps.hideAppSidebar($('.detailsView')); this.navigation.getActiveContainer().trigger(new $.Event('urlChanged', params)); + window._nc_event_bus.emit('files:navigation:changed') } }, @@ -374,6 +375,7 @@ this.navigation.getActiveContainer().trigger(new $.Event('show')); } this.navigation.getActiveContainer().trigger(new $.Event('urlChanged', params)); + window._nc_event_bus.emit('files:navigation:changed') }, /** |