Fix typos
authorFabii <fabiangossner@gmail.com>
Fri, 4 Mar 2016 13:04:08 +0000 (14:04 +0100)
committerFabii <fabiangossner@gmail.com>
Fri, 4 Mar 2016 13:04:08 +0000 (14:04 +0100)
wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js
wcfsetup/install/files/js/WoltLab/WCF/Controller/Popover.js
wcfsetup/install/files/js/WoltLab/WCF/Language/Input.js

index e46aa409cd657f7ca15665246f5a24fd4f696a1d..c8dbb30c21ea31a60a998a6d9b07993812a153fe 100644 (file)
@@ -261,7 +261,7 @@ define(
                                                                var formData = {};
                                                                
                                                                if (template.length) {
-                                                                       var items = elBySel('input, select, textarea', UiConfirmation.getContentElement());
+                                                                       var items = elBySelAll('input, select, textarea', UiConfirmation.getContentElement());
                                                                        for (var i = 0, length = items.length; i < length; i++) {
                                                                                var item = items[i];
                                                                                var name = elAttr(item, 'name');
index 18a12101c5bc757961baaec9eec43ff4efb23783..e711dfac4448264cc3baf88f84506ec049fbc4e8 100644 (file)
@@ -342,7 +342,7 @@ define(['Ajax', 'Dictionary', 'Environment', 'Dom/ChangeListener', 'Dom/Util', '
                 */
                _clearContent: function() {
                        if (_activeId && _popoverContent.childElementCount && !_popover.classList.contains('active')) {
-                               var activeElData = _cache.get(_elements.get(_activeId).elData(element, 'cache-id'));
+                               var activeElData = elData(_cache.get(_elements.get(_activeId).element, 'cache-id'));
                                while (_popoverContent.childNodes.length) {
                                        activeElData.content.appendChild(_popoverContent.childNodes[0]);
                                }
index cfa5526ab009147fc33a005aad6e60c70cd0aed5..7cae3a5c254f8e82ef3c27fa0834e10b9d8e17fa 100644 (file)
@@ -142,7 +142,7 @@ define(['Core', 'Dictionary', 'Language', 'ObjectMap', 'StringUtil', 'Dom/Traver
                        var activeItem = null;
                        if (forceSelection === true || values.size) {
                                for (var i = 0, length = dropdownMenu.childElementCount; i < length; i++) {
-                                       if (~~dropdownMenu.elData(children[i], 'language-id') === LANGUAGE_ID) {
+                                       if (~~elData(dropdownMenu.children[i], 'language-id') === LANGUAGE_ID) {
                                                activeItem = dropdownMenu.children[i];
                                                break;
                                        }