[ContactsExchanger] updated ContactsExchanger sources
authorPiotr Dabrowski <p.dabrowski2@samsung.com>
Fri, 6 Sep 2013 09:39:59 +0000 (11:39 +0200)
committerPiotr Dabrowski <p.dabrowski2@samsung.com>
Fri, 6 Sep 2013 09:39:59 +0000 (11:39 +0200)
Change-Id: Icb445cf2e225bd7c16f14e48c415d0e3b8be490a

js/app.ui.js

index 53af89d..cbee1e1 100644 (file)
@@ -179,7 +179,7 @@ App.Ui = null;
                getChangeContactButton: function ui_getChangeContactButton() {
                        var changeContactButton;
                        changeContactButton = $(this.getButtonHtml('Change your default contact'));
-                       changeContactButton.on('tap', this.changeContact);
+                       changeContactButton.on('click', this.changeContact);
                        return changeContactButton;
                },
 
@@ -209,7 +209,7 @@ App.Ui = null;
                getReadFromCardButton: function ui_getReadFromCardButton() {
                        var readFromCardButton;
                        readFromCardButton = $(this.getButtonHtml('Read from card'));
-                       readFromCardButton.on('tap', this.readFromCard);
+                       readFromCardButton.on('click', this.readFromCard);
                        return readFromCardButton;
                },
 
@@ -237,7 +237,7 @@ App.Ui = null;
                getWriteToCardButton: function ui_getWriteToCardButton() {
                        var writeToCardButton;
                        writeToCardButton = $(this.getButtonHtml('Write to card'));
-                       writeToCardButton.on('tap', this.writeToCard);
+                       writeToCardButton.on('click', this.writeToCard);
                        return writeToCardButton;
                },
 
@@ -265,7 +265,7 @@ App.Ui = null;
                getCommunicateWithOtherDeviceButton: function ui_getCommunicateWithOtherDeviceButton() {
                        var communicateWithOtherDeviceButton;
                        communicateWithOtherDeviceButton = $(this.getButtonHtml('Communicate with another device'));
-                       communicateWithOtherDeviceButton.on('tap', this.communicateWithOtherDevice);
+                       communicateWithOtherDeviceButton.on('click', this.communicateWithOtherDevice);
                        return communicateWithOtherDeviceButton;
                },
 
@@ -463,7 +463,7 @@ App.Ui = null;
                defineEvents: function ui_defineEvents() {
                        var self = this;
 
-                       $('#header-start .ui-btn-back').on('tap', function (event) {
+                       $('#header-start .ui-btn-back').on('click', function (event) {
                                event.preventDefault();
                                self.app.nfc.stopNFC();
                        });
@@ -472,12 +472,12 @@ App.Ui = null;
                                return false;
                        });
 
-                       $('#footer-contact').on('tap', '.ui-btn-back', function (event) {
+                       $('#footer-contact').on('click', '.ui-btn-back', function (event) {
                                event.preventDefault();
                                $.mobile.changePage('#start');
                        });
 
-                       $('#footer-choose').on('tap', '.ui-btn-back', function (event) {
+                       $('#footer-choose').on('click', '.ui-btn-back', function (event) {
                                event.preventDefault();
                                $.mobile.changePage('#start');
                        });
@@ -494,7 +494,7 @@ App.Ui = null;
                                self.prepareContactsTemplate(data.phone, data.first, data.last);
                        });
 
-                       $('#save-contact').on('tap', function (event) {
+                       $('#save-contact').on('click', function (event) {
                                event.preventDefault();
                                self.app.saveContact();
                        });