When I try to click on Search from documents element it returns error in console.
Uncaught TypeError: Cannot read property 'value' of undefined
$('.js-main-search').data('uiAutocomplete')._renderMenu = function (ul, items) {
var branchesResults = true;
var companiesResults = true;
var currentCategory = '';
var that = this;
ul.append('<li class="search-documents-btn">Search from documents »</li>');
// ...
});
Any suggestions?