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

ChangeLog
typo3/alt_doc.php

index 4840fb5..92027ae 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-01  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #16604: Changes in workspace are not shown automatically in pagetree
+
 2010-11-30  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Fixed bug #16501: DBAL does not support multi-column indexes in create table queries
index 3b30728..f061c6b 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');
                }