Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/search
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-28 23:18:11 +0400
committerBart Visscher <bartv@thisnet.nl>2012-09-28 23:18:20 +0400
commit9c4c79346c9ccedc72998566911d1cd2a2e57b11 (patch)
tree139078879adf331075a18c16fa3fdd1469a4a1a5 /search
parent24bb7d16b7f72b4438cb79ff55cdcd4a5e66062c (diff)
After selecting a search result, hide the results
Diffstat (limited to 'search')
-rw-r--r--search/js/result.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/search/js/result.js b/search/js/result.js
index aaecde08c6b..cadb0d0aabe 100644
--- a/search/js/result.js
+++ b/search/js/result.js
@@ -25,6 +25,7 @@ OC.search.showResults=function(results){
parent.load(OC.filePath('search','templates','part.results.php'),function(){
OC.search.showResults.loaded=true;
$('#searchresults').click(function(event){
+ OC.search.hide();
event.stopPropagation();
});
$(window).click(function(event){