diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-16 08:32:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 08:32:30 +0200 |
commit | 8b6f5a41c8a40ca91fc5c70d060852012ee8d922 (patch) | |
tree | f8791368e312c54987966accc6d1f419b1430767 /apps | |
parent | 88b66442a2ca71070f0d655f426c2d099fd1d8b5 (diff) | |
parent | a7c7d84f59e6beecc67d7f8bc8e6d657a32fa121 (diff) | |
download | nextcloud-server-8b6f5a41c8a40ca91fc5c70d060852012ee8d922.tar.gz nextcloud-server-8b6f5a41c8a40ca91fc5c70d060852012ee8d922.zip |
Merge pull request #34100 from nextcloud/fix/reset-global-search
Reset global search on files sidebar navigation change
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') }, /** |