incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r493189 - /incubator/ivy/trunk/doc/xooki/xooki.js
Date Fri, 05 Jan 2007 20:51:18 GMT
Author: xavier
Date: Fri Jan  5 12:51:17 2007
New Revision: 493189

URL: http://svn.apache.org/viewvc?view=rev&rev=493189
Log:
fix issue with printer friendly handling

Modified:
    incubator/ivy/trunk/doc/xooki/xooki.js

Modified: incubator/ivy/trunk/doc/xooki/xooki.js
URL: http://svn.apache.org/viewvc/incubator/ivy/trunk/doc/xooki/xooki.js?view=diff&rev=493189&r1=493188&r2=493189
==============================================================================
--- incubator/ivy/trunk/doc/xooki/xooki.js (original)
+++ incubator/ivy/trunk/doc/xooki/xooki.js Fri Jan  5 12:51:17 2007
@@ -710,7 +710,7 @@
         }
     })(xooki.toc, null, 0);
 	
-	var match = new RegExp("^.*\\/((?:.*\\/){"+xooki.config.level+"}[^\\/]*)(?:\\.\\w+)$", "g").exec(window.location.toString());
+	var match = new RegExp("^.*\\/((?:.*\\/){"+xooki.config.level+"}[^\\/]*)(?:\\.\\w+)(?:\\?.+)?$",
"g").exec(window.location.toString());
 	var curPageId;
 	if (match == null || match[1] == '') {
 		curPageId = "index";



Mime
View raw message