diff options
Diffstat (limited to 'view/js/mod_connections.js')
-rw-r--r-- | view/js/mod_connections.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js index 1880222bc..410786cf5 100644 --- a/view/js/mod_connections.js +++ b/view/js/mod_connections.js @@ -8,3 +8,14 @@ $(document).ready(function() { a.setOptions({ params: { type: 'a' }}); }); + +$("#contacts-search").keyup(function(event){ + if(event.keyCode == 13){ + $("#contacts-search-submit").click(); + } +}); +$(".autocomplete-w1 .selected").keyup(function(event){ + if(event.keyCode == 13){ + $("#contacts-search-submit").click(); + } +}); |