diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-08-27 16:36:15 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-08-27 16:36:15 -0400 |
commit | 0b17a542cb0a7b0471a334a219649c28e482b133 (patch) | |
tree | a386b4576cf7bdc993d8618ac7e95c7b0db56142 /core | |
parent | 464c75e4b258650fdab5b0b2343a4ef07a63a085 (diff) | |
download | nextcloud-server-0b17a542cb0a7b0471a334a219649c28e482b133.tar.gz nextcloud-server-0b17a542cb0a7b0471a334a219649c28e482b133.zip |
Fix searchbox enter action
Diffstat (limited to 'core')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index 770ce4ea695..a72573e326f 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -257,7 +257,7 @@ $(document).ready(function(){ if(event.keyCode==13){//enter if(OC.search.currentResult>-1){ var result=$('#searchresults tr.result a')[OC.search.currentResult]; - $(result).click(); + window.location = $(result).attr('href'); } }else if(event.keyCode==38){//up if(OC.search.currentResult>0){ |