From 7a812801db6cc2cddf4e176dc893b07c7c486d76 Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Mon, 5 Jan 2015 17:53:14 +0100 Subject: correctly clear searchbox when switching filelists --- apps/files/js/filelist.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/files/js') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 768fc77df24..3e61e50f75d 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1713,6 +1713,9 @@ if (OCA.Search.files) { OCA.Search.files.setFileList(this); } + if (OC.Search) { + OC.Search.clear(); + } }, /** * Update UI based on the current selection -- cgit v1.2.3