From: Alexander Ebert Date: Tue, 11 Jun 2013 14:34:16 +0000 (+0200) Subject: Using hidden input fields rather than mirroring checkboxes X-Git-Tag: 2.0.0_Beta_4~70^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3ccce6b2ed1887d4fe4f85f2695784fb362e1f6;p=GitHub%2FWoltLab%2FWCF.git Using hidden input fields rather than mirroring checkboxes --- 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); }); }); }