From 93736c721215dcaaf32f34e0ec3bb583c01e132d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 2 Oct 2013 10:36:03 +0200 Subject: [PATCH] Fixes marking of monolingual i18n-dropdown option --- wcfsetup/install/files/js/WCF.js | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.20.1