From 34f165017dc752989c4d8effdd460f96744d640d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 15 Feb 2016 17:12:33 +0100 Subject: [PATCH] Added support for slightly different search area DOM --- wcfsetup/install/files/js/WCF.Search.Message.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.Search.Message.js b/wcfsetup/install/files/js/WCF.Search.Message.js index 717216cd7c..8e241d770f 100644 --- a/wcfsetup/install/files/js/WCF.Search.Message.js +++ b/wcfsetup/install/files/js/WCF.Search.Message.js @@ -132,6 +132,8 @@ WCF.Search.Message.SearchArea = Class.extend({ if (this._searchArea.hasClass('dropdown')) { var $containerID = this._searchArea.wcfIdentify(); var $form = this._searchArea.find('form'); + if ($form.length === 0) $form = this._searchArea.parent(); + $form.submit(function() { // copy checkboxes and hidden fields into form var $dropdownMenu = WCF.Dropdown.getDropdownMenu($containerID); -- 2.20.1