Set name attribute for searchbox input as it is necessary to get autocomplete working

This commit is contained in:
Hadi Nategh 2016-04-01 08:19:12 +00:00
parent 8fb9063157
commit c7b576481b

View File

@ -481,6 +481,8 @@ var et2_searchbox = (function(){ "use strict"; return et2_textbox.extend(
},0);
}
}},this);
// Autocomplete needs name
this.search.input.attr('name', this.id||'searchbox');
this.search.input.on({
keyup:function(event)
{