[BluetoothChat] updated BluetoothChat sources
authorMaciek Blim <m.blim@samsung.com>
Mon, 2 Sep 2013 12:35:08 +0000 (14:35 +0200)
committerMaciek Blim <m.blim@samsung.com>
Mon, 2 Sep 2013 12:35:08 +0000 (14:35 +0200)
Change-Id: I348580bf4200db16d77324596c2d939d30e6da7b

js/app.ui.events.js

index eee4de6..b4b6035 100644 (file)
@@ -70,12 +70,12 @@ function UiEvents(parent) {
                                app.powerOn();
                        });
 
-                       $('#serverButton').on('tap', function (event) {
+                       $('#serverButton').on('click', function (event) {
                                app.resetApplicationMode();
                                app.startServer();
                        });
 
-                       $('#clientButton').on('tap', function (event) {
+                       $('#clientButton').on('click', function (event) {
                                app.resetApplicationMode();
                                app.startClient();
                        });
@@ -89,7 +89,7 @@ function UiEvents(parent) {
                                setTimeout(function () { $('#keyboard-text').focus(); }, 500);
                        });
 
-                       $('#keyboard-ok-button').on('tap', function (event) {
+                       $('#keyboard-ok-button').on('click', function (event) {
                                event.preventDefault();
                                var value = $('#keyboard-text').val(), mode;
                                if (value.length !== 0) {
@@ -171,7 +171,7 @@ function UiEvents(parent) {
                                app.sendMessage(message);
                        });
 
-                       $('body').on('tap', '#byeOK', function () {
+                       $('body').on('click', '#byeOK', function () {
                                self.ui.hideByePopup();
                                $('#keyboard-back-button').trigger('tap');
                        });
@@ -180,7 +180,7 @@ function UiEvents(parent) {
                                $('#byeOK').trigger('tap');
                        });
 
-                       $('body').on('tap', '#messageOK', function () {
+                       $('body').on('click', '#messageOK', function () {
                                self.ui.hideMessagePopup();
                        });