ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r793572 - /ant/ivy/site/xooki/xooki.js
Date Mon, 13 Jul 2009 12:50:49 GMT
Author: hibou
Date: Mon Jul 13 12:50:49 2009
New Revision: 793572

URL: http://svn.apache.org/viewvc?rev=793572&view=rev
Log:
Allow an entry in the toc to be an URL

Modified:
    ant/ivy/site/xooki/xooki.js

Modified: ant/ivy/site/xooki/xooki.js
URL: http://svn.apache.org/viewvc/ant/ivy/site/xooki/xooki.js?rev=793572&r1=793571&r2=793572&view=diff
==============================================================================
--- ant/ivy/site/xooki/xooki.js (original)
+++ ant/ivy/site/xooki/xooki.js Mon Jul 13 12:50:49 2009
@@ -448,7 +448,7 @@
     	if (page.isAbstract) {
     		return page.title;
     	} else {
-    		return '<a href="'+pu(page.id)+'" '+(page.id == xooki.page.id?'class="current"':'')+'>'+page.title+'</a>';
+    		return '<a href="'+(page.url != null ? page.url : pu(page.id))+'" '+(page.id ==
xooki.page.id?'class="current"':'')+'>'+page.title+'</a>';
     	}
     },
 	



Mime
View raw message