Skip to content

Commit

Permalink
Elastic: Don't display "No contact selected" warning when clicking on…
Browse files Browse the repository at this point in the history
… pagenav buttons
  • Loading branch information
alecpl committed Jul 3, 2018
1 parent 70ffc25 commit da5ef62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skins/elastic/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit da5ef62

Please sign in to comment.