Skip to content

Commit

Permalink
Merge pull request #4881 from camptocamp/merge_2.4
Browse files Browse the repository at this point in the history
Merge 2.4 into master
  • Loading branch information
fredj authored May 8, 2019
2 parents 80138b2 + 6c87e58 commit 773ca8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contribs/gmf/src/search/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,9 @@ class SearchController {
const menu = this.element_.find('.twitter-typeahead .tt-menu');
const message = menu.children('.gmf-search-no-results');
if (message.length == 0) {
const div = $('<div class="gmf-search-no-results" translate>No result found</div>');
const gettextCatalog = this.gettextCatalog_;
const innerHTML = gettextCatalog.getString('No result found');
const div = $(`<div class="gmf-search-no-results" translate>${innerHTML}</div>`);
menu.append(div);
}
if (empty) {
Expand Down

0 comments on commit 773ca8f

Please sign in to comment.