[CallLog] updated CallLog sources
authorPiotr Dabrowski <p.dabrowski2@samsung.com>
Fri, 4 Oct 2013 07:45:27 +0000 (09:45 +0200)
committerPiotr Dabrowski <p.dabrowski2@samsung.com>
Fri, 4 Oct 2013 07:45:27 +0000 (09:45 +0200)
Change-Id: I4fafb4823d4f185f9479ebac74e785902b189ce1

js/app.ui.js

index 073572a..b612c3c 100644 (file)
@@ -137,7 +137,10 @@ function Ui(contacts) {
                                event.stopPropagation();
                        });
 
-                       $('#calllogList').on('click', '.call', function onCalllogEntryClick(event) {
+                       $('#calllogList').on('click keypress', '.call', function onCalllogEntryClick(event) {
+                               if (event.type === 'keypress' && event.keyCode !== 13) {
+                                       return;
+                               }
                                var remoteParty = $(this)
                                        .data('entries')[0]
                                        .remoteParties[0]