self.selectAllDetailsEach();
});
- $('#calllogList').on('tap', '.date', function (event) {
+ $('#calllogList').on('click', '.date', function (event) {
event.stopPropagation();
});
changeDetailsToRemoveState: function Ui_changeDetailsToRemoveState(set, clear) {
var counter = this.getCountSelectedLogEntries(),
- numChecked = $('#forCallerList input:checked').length;
+ numChecked = $('#forCallerList input:checked').length,
+ matrix, pos;
if (clear === true) {
counter = 0;
$('#forCallerList').find(':checkbox').attr('checked', false)
} else {
this.showPopup('Are you sure you want to delete selected log?');
}
- this.refreshScrollView();
+
+ matrix = $('#historyForCallerView .ui-scrollview-view').css('transform');
+ pos = matrix.substr(7, matrix.length -8).split(',')[5];
+ if (pos !== undefined) {
+ $('#callerListContainer').scrollview('scrollTo', 100, parseInt(pos), 10);
+ } else {
+ this.refreshScrollView();
+ }
},
/**