After selecting a search result, hide the results
This commit is contained in:
parent
24bb7d16b7
commit
9c4c79346c
|
@ -25,6 +25,7 @@ OC.search.showResults=function(results){
|
||||||
parent.load(OC.filePath('search','templates','part.results.php'),function(){
|
parent.load(OC.filePath('search','templates','part.results.php'),function(){
|
||||||
OC.search.showResults.loaded=true;
|
OC.search.showResults.loaded=true;
|
||||||
$('#searchresults').click(function(event){
|
$('#searchresults').click(function(event){
|
||||||
|
OC.search.hide();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
});
|
});
|
||||||
$(window).click(function(event){
|
$(window).click(function(event){
|
||||||
|
|
Loading…
Reference in New Issue