From 0bd3dc4b959477d3d97c9337b4d84b6c2cdad1e9 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 19 Nov 2012 03:25:34 +0100 Subject: [PATCH] Fixed i18n input Fixes #908 --- wcfsetup/install/files/js/WCF.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 6ac986746c..c1cc761fe4 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2613,9 +2613,11 @@ WCF.MultipleLanguageInput = Class.extend({ /** * Disables language selection for current element. + * + * @param object event */ - _disable: function() { - if (this._forceSelection || !this._list) { + _disable: function(event) { + if (this._forceSelection || !this._list || event === undefined) { return; } -- 2.20.1