Fix rebuilding clipboard editors
authorMatthias Schmidt <gravatronics@live.com>
Mon, 22 Jun 2015 17:50:17 +0000 (19:50 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 22 Jun 2015 17:50:17 +0000 (19:50 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Controller/Clipboard.js

index c15ac8faa8625841790b16faa0f7e5ea777962c5..242578f10bf410cd005a73f819677679373b5066 100644 (file)
@@ -467,7 +467,7 @@ define(
                                var typeData = data.returnValues.items[typeName];
                                
                                var editor = _editors.get(typeName);
-                               var lists = DOMTraverse.childrenByTag('UL');
+                               var lists = DOMTraverse.childrenByTag(editor, 'UL');
                                var list = lists[0] || null;
                                if (list === null) {
                                        list = document.createElement('ul');