aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-03 16:50:39 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-04 20:56:22 +0200
commit6eced42b7a40f5b0ea0489244583219d0ee2e7af (patch)
treec7244e50328a27c28579f9812a8cc2808f64e13a /apps/files/js/filelist.js
parent72b45f9546208c82e76ddb2ad7995f0485d99b18 (diff)
downloadnextcloud-server-6eced42b7a40f5b0ea0489244583219d0ee2e7af.tar.gz
nextcloud-server-6eced42b7a40f5b0ea0489244583219d0ee2e7af.zip
Remove outdated legacy search scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js15
1 files changed, 1 insertions, 14 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index cb93ded939e..eee24b648f3 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -383,8 +383,6 @@
}
});
- this.updateSearch();
-
this.$fileList.on('click','td.filename>a.name, td.filesize, td.date', _.bind(this._onClickFile, this));
this.$fileList.on("droppedOnFavorites", function (event, file) {
@@ -1126,7 +1124,6 @@
if ($targetDir !== undefined && e.which === 1) {
e.preventDefault();
this.changeDirectory($targetDir, true, true);
- this.updateSearch();
}
},
@@ -3260,17 +3257,7 @@
getFilter:function(filter) {
return this._filter;
},
- /**
- * update the search object to use this filelist when filtering
- */
- updateSearch:function() {
- if (OCA.Search.files) {
- OCA.Search.files.setFileList(this);
- }
- if (OC.Search) {
- OC.Search.clear();
- }
- },
+
/**
* Update UI based on the current selection
*/