$.mobile.activePage.page('refresh');
});
- $('#callView').on('tap', '.ui-btn-back', app.exit.bind(app));
-
$('#callView').on('pagebeforeshow', function () {
app.showCallHistory();
});
//original code, do not remove until web-ui release; N_SE-48946
//$(".ui-scrollview-view").listview();
- $('#historyForCallerView').on('tap', '.ui-btn-back', function (event) {
- event.preventDefault();
- event.stopPropagation();
- $.mobile.changePage('#callView');
- });
-
$('#historyForCallerView').on('pagebeforeshow', function () {
self.hideCheckboxes();
$('#historyForCallerView .ui-content.ui-scrollview-clip .ui-scrollview-view')
$.mobile.changePage('#historyForCallerView');
});
- $('#smsActionBtn').on('tap', function (event) {
+ $('#smsActionBtn').on('click', function (event) {
event.stopPropagation();
event.preventDefault();
self.lockButtons();
app.sendSms($('#forCallerList').data('remoteParty'));
});
- $('#callActionBtn').on("tap", function (event) {
+ $('#callActionBtn').on("click", function (event) {
self.lockButtons();
self.hideCheckboxes();
app.makeCall($('#forCallerList').data('remoteParty'));
self.changeDetailsToRemoveState();
});
- $('.selectAllBox').on('tap', 'li', function () {
+ $('.selectAllBox').on('click', 'li', function () {
var checkbox = $(this).find(':checkbox');
if (self.removeMode === true) {
if (checkbox.attr('checked')) {
.on('click', '#popupCancelActionBtn', this.closePopup.bind(this))
.on('click', '#popupSubmitActionBtn', this.deleteCheckedLogs.bind(this));
- $('#errorPopup').on('tap', '#errorPopupOkBtn', this.closeErrorPopup);
+ $('#errorPopup').on('click', '#errorPopupOkBtn', this.closeErrorPopup);
$( "#errorPopup" ).bind({
popupafterclose: function(){
}
});
- document.addEventListener('tizenhwkey', function(e) {
+ window.addEventListener('tizenhwkey', function(e) {
if (e.keyName == "back") {
if ($.mobile.popup.active) {
$.mobile.popup.active.close();
numChecked = $('#forCallerList input:checked').length;
if (this.removeMode && numChecked === 0 && !deleteButton.hasClass('ui-disabled')) {
- deleteButton.addClass('ui-disabled');
+ deleteButton.addClass('ui-disabled').attr('tabIndex', '-1').blur();
} else if (deleteButton.hasClass('ui-disabled')) {
- deleteButton.removeClass('ui-disabled');
+ deleteButton.removeClass('ui-disabled').attr('tabIndex', '0');
}
},
}
if (this.removeMode && numChecked === 0) {
- $('#deleteActionBtn').addClass('ui-disabled');
+ $('#deleteActionBtn').addClass('ui-disabled').attr('tabIndex', '-1').blur();
} else if (!this.removeMode) {
- $('#deleteActionBtn').removeClass('ui-disabled');
+ $('#deleteActionBtn').removeClass('ui-disabled').attr('tabIndex', '0');
this.selectAllDetailsEach();
}
checkbox.attr('checked', true)
.data('checkboxradio')
.refresh();
- $('#deleteActionBtn').removeClass('ui-disabled');
+ $('#deleteActionBtn').removeClass('ui-disabled').attr('tabIndex', '0');
}
});
} else {
self.loadContacts(app.updateCallLists.bind(app));
$('#callActionBtn, #smsActionBtn')
- .removeClass('ui-disabled');
+ .removeClass('ui-disabled').attr('tabIndex', '0');
}
});
},
lockButtons: function () {
- $('#callActionBtn, #smsActionBtn').addClass('ui-disabled');
+ $('#callActionBtn, #smsActionBtn').addClass('ui-disabled').attr('tabIndex', '-1').blur();
},
unlockOptionButtons : function Ui_unlockOptionButtons(){
- $('#callActionBtn, #smsActionBtn').removeClass('ui-disabled');
+ $('#callActionBtn, #smsActionBtn').removeClass('ui-disabled').attr('tabIndex', '0');
},
/**