|
From: <et...@us...> - 2011-10-20 20:00:59
|
Revision: 4495
http://mxquery.svn.sourceforge.net/mxquery/?rev=4495&view=rev
Author: etterth
Date: 2011-10-20 20:00:53 +0000 (Thu, 20 Oct 2011)
Log Message:
-----------
- Fixed another bug in memory (used ancestor:: with predicate instead of parent -> axes rule)
Modified Paths:
--------------
trunk/MXQuery/xqib_samples/prague/memory.htm
Modified: trunk/MXQuery/xqib_samples/prague/memory.htm
===================================================================
--- trunk/MXQuery/xqib_samples/prague/memory.htm 2011-10-20 19:17:48 UTC (rev 4494)
+++ trunk/MXQuery/xqib_samples/prague/memory.htm 2011-10-20 20:00:53 UTC (rev 4495)
@@ -89,7 +89,7 @@
return
(if (count($opendivs) < 2) then
if (b:getClasses($loc) ='found') then () else
- b:addClass($loc/.., 'open')
+ b:addClass($loc/ancestor::div[b:getClasses(.)='panel'], 'open')
else ()
,
m:testwin())
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|