Fixed bug #15295: Page treeFilter not re-applied after branch toggling (Thanks to...
authorSteffen Kamper <info@sk-typo3.de>
Fri, 30 Jul 2010 11:23:52 +0000 (11:23 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Fri, 30 Jul 2010 11:23:52 +0000 (11:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8449 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/js/tree.js

index 9e0e4fb..fe8153a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-30  Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug #15295: Page treeFilter not re-applied after branch toggling (Thanks to Felix Kopp)
+       
 2010-07-29  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed bug #13427: t3lib_div::cleanOutputBuffers() might loop forever (thanks to Stephan Seitz and Steffen Gebert)
index 3a7797b..b52b73f 100644 (file)
@@ -149,16 +149,16 @@ var Tree = {
                } else {
                        obj.style.cursor = 'wait';
                }
-
+               
                var call = new Ajax.Request(this.thisScript, {
                        method: 'get',
                        parameters: 'ajaxID=' + this.ajaxID + '&PM=' + params,
                        onComplete: function(xhr) {
                                // the parent node needs to be overwritten, not the object
                                $(obj.parentNode.parentNode).replace(xhr.responseText);
+                               TYPO3PageTreeFilter.filter();
                                this.registerDragDropHandlers();
                                this.reSelectActiveItem();
-                               filter($('_livesearch').value);
                        }.bind(this),
                        onT3Error: function(xhr) {
                                // if this is not a valid ajax response, the whole page gets refreshed