Elastic: Don't display "No contact selected" warning when clicking on pagenav buttons

pull/5578/merge
Aleksander Machniak 6 years ago
parent 70ffc252bf
commit da5ef62bf0

@ -657,7 +657,7 @@ function rcube_elastic_ui()
$('a.button.attach, a.button.responses')[e.active ? 'addClass' : 'removeClass']('disabled');
});
$('.sidebar > .footer > a.button').click(function() {
$('.sidebar > .footer:not(.pagenav) > a.button').click(function() {
if ($(this).is('.disabled')) {
rcmail.display_message(rcmail.gettext('nocontactselected'), 'warning');
}

Loading…
Cancel
Save