You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/02/15 12:42:38 UTC

svn commit: r507902 - /lenya/trunk/src/modules-core/sitemanagement/usecases/tab/sitetree.jx

Author: andreas
Date: Thu Feb 15 03:42:37 2007
New Revision: 507902

URL: http://svn.apache.org/viewvc?view=rev&rev=507902
Log:
Handle case that document doesn't exist when loading site tree

Modified:
    lenya/trunk/src/modules-core/sitemanagement/usecases/tab/sitetree.jx

Modified: lenya/trunk/src/modules-core/sitemanagement/usecases/tab/sitetree.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/sitemanagement/usecases/tab/sitetree.jx?view=diff&rev=507902&r1=507901&r2=507902
==============================================================================
--- lenya/trunk/src/modules-core/sitemanagement/usecases/tab/sitetree.jx (original)
+++ lenya/trunk/src/modules-core/sitemanagement/usecases/tab/sitetree.jx Thu Feb 15 03:42:37 2007
@@ -88,7 +88,7 @@
           tree.init(PUBLICATION_ID);
           tree.render();
           <jx:choose>
-            <jx:when test="${docExists.booleanValue() &amp;&amp; document.hasLink()}">
+            <jx:when test="${docExists.booleanValue()}">
               tree.loadInitialTree('<jx:out value="${area}"/>', '<jx:out value="${document.getPath()}"/>');
             </jx:when>
             <jx:otherwise>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org