From d3ccce6b2ed1887d4fe4f85f2695784fb362e1f6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 11 Jun 2013 16:34:16 +0200 Subject: [PATCH] Using hidden input fields rather than mirroring checkboxes --- wcfsetup/install/files/js/WCF.Search.Message.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.Search.Message.js b/wcfsetup/install/files/js/WCF.Search.Message.js index 5fd491938b..17a4aa96ad 100644 --- a/wcfsetup/install/files/js/WCF.Search.Message.js +++ b/wcfsetup/install/files/js/WCF.Search.Message.js @@ -120,10 +120,11 @@ WCF.Search.Message.SearchArea = Class.extend({ var $form = this._searchArea.find('form').submit(function() { var $dropdownMenu = WCF.Dropdown.getDropdownMenu($containerID); + $form.find('input[type=hidden]').remove(); $dropdownMenu.find('input[type=checkbox]:checked').each(function(index, input) { var $input = $(input); - $('').appendTo($form); + $('').appendTo($form); }); }); } -- 2.20.1