Fixed bug #16604: Changes in workspace are not shown automatically in pagetree
authorOliver Hader <oliver.hader@typo3.org>
Tue, 30 Nov 2010 23:41:37 +0000 (23:41 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 30 Nov 2010 23:41:37 +0000 (23:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9699 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/alt_doc.php

index 75c3d53..027bc2c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-01-01  Oliver Hader  <oliver@typo3.org>
 
        * Updated Workspaces and Version extension to version 4.5.0beta2. See their ChangeLog for details.
+       * Fixed bug #16604: Changes in workspace are not shown automatically in pagetree
 
 2010-11-30  Xavier Perseguers  <typo3@perseguers.ch>
 
index a3d3097..74e5323 100644 (file)
@@ -301,7 +301,7 @@ class SC_alt_doc {
                }
 
                        // If pages are being edited, we set an instruction about updating the page tree after this operation.
-               if (isset($this->data['pages']))        {
+               if (isset($this->data['pages']) || $BE_USER->workspace != 0 && count($this->data)) {
                        t3lib_BEfunc::setUpdateSignal('updatePageTree');
                }