[BUGFIX] Page tree filtering broken in IE7 & IE8 37/23337/3
authorAske Ertmann <aertmann@gmail.com>
Mon, 22 Jul 2013 18:46:23 +0000 (20:46 +0200)
committerNicole Cordes <typo3@cordes.co>
Mon, 26 Aug 2013 22:32:48 +0000 (00:32 +0200)
The page tree doesn't show the result when using the filter
in the page tree in IE7 & IE8. ExtJS somehow breaks silently
when trying to use a non-tag (text) as a drag handle. This fix
works with the original change that introduced this, meaning it
doesn't break the functionality of dragging of locked records.

Change-Id: I3f33fb3e4f6bd7622f502a9265897fee9d3e4ed3
Resolves: #25327
Resolves: #37026
Related: #M17952
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/23337
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
t3lib/js/extjs/components/pagetree/javascript/nodeui.js

index ffcef4e..0cb6d29 100644 (file)
@@ -148,9 +148,6 @@ TYPO3.Components.PageTree.PageTreeNodeUI = Ext.extend(Ext.tree.TreeNodeUI, {
                for (var i = 0; i < textNode.dom.childNodes.length; ++i) {
                        if (textNode.dom.childNodes[i].nodeName === 'SPAN') {
                                ddHandles[handlesIndex++] = textNode.dom.childNodes[i];
-                               if (textNode.dom.childNodes[i].childNodes) {
-                                       ddHandles[handlesIndex++] = textNode.dom.childNodes[i].childNodes[0];
-                               }
                        }
                }