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/06/28 16:41:10 UTC

svn commit: r551580 - /lenya/trunk/src/modules/sitetree/resources/javascript/navtree.js

Author: andreas
Date: Thu Jun 28 07:41:10 2007
New Revision: 551580

URL: http://svn.apache.org/viewvc?view=rev&rev=551580
Log:
Add area base path to area node in sitetree. This fixes bug 42764.

Modified:
    lenya/trunk/src/modules/sitetree/resources/javascript/navtree.js

Modified: lenya/trunk/src/modules/sitetree/resources/javascript/navtree.js
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/sitetree/resources/javascript/navtree.js?view=diff&rev=551580&r1=551579&r2=551580
==============================================================================
--- lenya/trunk/src/modules/sitetree/resources/javascript/navtree.js (original)
+++ lenya/trunk/src/modules/sitetree/resources/javascript/navtree.js Thu Jun 28 07:41:10 2007
@@ -198,7 +198,7 @@
   newSite.area = siteArea;
   newSite.path = '/';
   newSite.isprotected = isNodeProtected(site);
-  newSite.href = langSuffix;
+  newSite.href = AREA_BASE_PATH + "/" + langSuffix;
   newSite.langSuffix = langSuffix;
   newSite.label = site.getAttribute('label');
   



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