From: Matthias Schmidt Date: Wed, 2 Oct 2013 08:36:03 +0000 (+0200) Subject: Fixes marking of monolingual i18n-dropdown option X-Git-Tag: 2.0.0_Beta_11~84 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=93736c721215dcaaf32f34e0ec3bb583c01e132d;p=GitHub%2FWoltLab%2FWCF.git Fixes marking of monolingual i18n-dropdown option --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 9a4c7b39ec..d171e857ba 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -3491,6 +3491,11 @@ WCF.MultipleLanguageInput = Class.extend({ this._element.val(); } + if (event) { + this._list.children('li').removeClass('active'); + $(event.currentTarget).addClass('active'); + } + this._element.blur().focus(); this._insertedDataAfterInit = false; this._isEnabled = false;