dont hide the results if a new search yield no results

This commit is contained in:
Robin Appelman 2011-07-31 02:05:07 +02:00
parent 3a08f747fb
commit 291d8c73f8
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ OC.search.hide=function(){
};
}
OC.search.showResults=function(results){
if(results.length==0){
return;
}
if(!OC.search.showResults.loaded){
var parent=$('<div/>');
$('body').append(parent);