Fixed i18n input
authorAlexander Ebert <ebert@woltlab.com>
Mon, 19 Nov 2012 02:25:34 +0000 (03:25 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 19 Nov 2012 02:25:34 +0000 (03:25 +0100)
Fixes #908

wcfsetup/install/files/js/WCF.js

index 6ac986746c297c021efe76d466af7ea12626e181..c1cc761fe4f6821bdea7ee5ca7ce3cb785f1a70a 100755 (executable)
@@ -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;
                }