[Prototype-core] Re: Bug in the compressed and formatted code

2007-10-14 Thread John-David Dalton
Thanx xinze, In the readme_first.txt file I point out that I had implemented some patches from various tickets. I goofed the patch on that one. http://dev.rubyonrails.org/ticket/8843 should have been: results.push($(query.snapshotItem(i))); I will fix this bug and release a new package when ti

[Prototype-core] Re: Bug in the compressed and formatted code

2007-10-05 Thread xinze
I figured the issue out. if (Prototype.BrowserFeatures.XPath) { document._getElementsByXPath = function(expression, parentElement) { var results = []; var query = document.evaluate(expression, $(parentElement) || document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); f