delay hiding no results message until search is triggered
This commit is contained in:
parent
818e7388c4
commit
ba235eb51d
|
@ -159,7 +159,10 @@
|
|||
if (self.fileAppLoaded()) {
|
||||
OCA.Files.App.fileList.setFilter(query);
|
||||
if (query.length > 2) {
|
||||
$('#nofilterresults').addClass('hidden');
|
||||
//search is not started until 500msec have passed
|
||||
window.setTimeout(function() {
|
||||
$('#nofilterresults').addClass('hidden');
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue