From: Marcel Werk Date: Fri, 16 Jan 2015 00:27:50 +0000 (+0100) Subject: Added form auto-submit in keyword suggestion list X-Git-Tag: 2.1.0_Beta_4~90 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef36549083cb533efba682d11d9eadc6fe6ce7ba;p=GitHub%2FWoltLab%2FWCF.git Added form auto-submit in keyword suggestion list --- diff --git a/wcfsetup/install/files/js/WCF.Search.Message.js b/wcfsetup/install/files/js/WCF.Search.Message.js index e5f5e126f7..717216cd7c 100644 --- a/wcfsetup/install/files/js/WCF.Search.Message.js +++ b/wcfsetup/install/files/js/WCF.Search.Message.js @@ -154,7 +154,7 @@ WCF.Search.Message.SearchArea = Class.extend({ */ _callback: function(data) { this._searchArea.find('input[type=search]').val(data.label); - this._searchArea.find('input[type=search]').focus(); + this._searchArea.find('form').submit(); return false; } }); \ No newline at end of file