aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_connections.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_connections.js')
-rw-r--r--view/js/mod_connections.js11
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();
+ }
+});