aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-09-15 17:57:10 +0000
committerChristopher Ng <chrng8@gmail.com>2022-09-15 18:55:00 +0000
commita7c7d84f59e6beecc67d7f8bc8e6d657a32fa121 (patch)
tree8f51267f7ae848e0e81c8ec282efefaaa4ec7fcf /apps/files
parentca747b91d4aa907b191119f080d213bfb5e60fd2 (diff)
downloadnextcloud-server-a7c7d84f59e6beecc67d7f8bc8e6d657a32fa121.tar.gz
nextcloud-server-a7c7d84f59e6beecc67d7f8bc8e6d657a32fa121.zip
Reset global search on files sidebar navigation change
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/app.js2
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')
},
/**