Fixed hidden input fields not being submitted in search
authorAlexander Ebert <ebert@woltlab.com>
Tue, 23 Jul 2013 17:09:04 +0000 (19:09 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 23 Jul 2013 17:09:04 +0000 (19:09 +0200)
wcfsetup/install/files/js/WCF.Search.Message.js

index 58452b714917c5d973d54c6647a37415b4199797..3ab63e4a32c154bb1fd520bf9b023daf6e4fecd8 100644 (file)
@@ -120,6 +120,7 @@ WCF.Search.Message.SearchArea = Class.extend({
                        var $form = this._searchArea.find('form').submit(function() {
                                var $dropdownMenu = WCF.Dropdown.getDropdownMenu($containerID);
                                
+                               $dropdownMenu.find('input[type=hidden]').appendTo($form);
                                $dropdownMenu.find('input[type=checkbox]:checked').each(function(index, input) {
                                        var $input = $(input);