Fixed clicking with the autocomplete.

Change-Id: I0e67ea776884fe45edb422ddc9c5b0695e1cce59
diff --git a/client/catalog/js/autocomplete.js b/client/catalog/js/autocomplete.js
index ea71fa0..8ad97fb 100644
--- a/client/catalog/js/autocomplete.js
+++ b/client/catalog/js/autocomplete.js
@@ -70,7 +70,7 @@
       }
 
       element.bind('click', 'a', function(){
-        input.val($(this).text());
+        input.val($(event.target).text());
       });
 
       this.keydown(function(e){