Fixed error message
authorAlexander Ebert <ebert@woltlab.com>
Thu, 8 Jun 2017 14:20:08 +0000 (16:20 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 8 Jun 2017 14:20:08 +0000 (16:20 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Language/Input.js

index 0e839e840cd03ccad5d3eb26b192655e79a1abe5..de9cd37da6cc4e4afda1d537e554ed6c442d8096 100644 (file)
@@ -387,7 +387,7 @@ define(['Core', 'Dictionary', 'Language', 'ObjectMap', 'StringUtil', 'Dom/Traver
                disable: function(elementId) {
                        var element = _elements.get(elementId);
                        if (element === undefined) {
-                               throw new Error("Expected a valid i18n input element, '" + elementId + "' is not i18n input field.");
+                               throw new Error("Expected a valid element, '" + elementId + "' is not an i18n input field.");
                        }
                        
                        if (!element.isEnabled) return;