Merge pull request #882 from Gravatronics/enhancement/multipleLanguageInputInputHeight
authorAlexander Ebert <ebert@woltlab.com>
Thu, 1 Nov 2012 23:46:39 +0000 (16:46 -0700)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 1 Nov 2012 23:46:39 +0000 (16:46 -0700)
Adjusts the height of multilingual input fields

1  2 
wcfsetup/install/files/js/WCF.js

index 6595819ec46d501ffd9263a5bcafbacc2541aca9,ab78fe235114d576afdbee91334379bdc0437819..96135c4cec32abd5ea4de2c7affc84432f08da73
@@@ -2434,8 -2425,19 +2434,9 @@@ WCF.MultipleLanguageInput = Class.exten
                }
                else {
                        $button.addClass('dropdownCaption');
+                       $button.next().css('height', $button.outerHeight());
                }
                
 -              // insert list
 -              this._list = $('<ul class="dropdownMenu"></ul>').insertAfter($button);
 -              
 -              // set top offset for menu
 -              if ($top !== null) {
 -                      this._list.css({
 -                              top: $top
 -                      });
 -              }
 -              
                // insert available languages
                for (var $languageID in this._availableLanguages) {
                        $('<li><span>' + this._availableLanguages[$languageID] + '</span></li>').data('languageID', $languageID).click($.proxy(this._changeLanguage, this)).appendTo(this._list);