I created a ticket and a patch a while ago about this very thing.
[PATCH] document._getElementsByXPath() doesnt grace elements with $(),
causes issue in Opera 9.21
http://dev.rubyonrails.org/ticket/8843
--~--~-~--~~~---~--~~
You received this message because you
Note - this causes problems when using the invoke function as well...
Opera test
Element.addMethods("DIV", {
divOperaTest: function(e) { window.alert("Test Successful ("
+
e.innerHTML + ")"); }
});
document.observe("contentload
As a patch:
Changing line 1548 in prototype.js from:
results.push(query.snapshotItem(i));
to:
results.push($(query.snapshotItem(i)));
seems to solve this particular issue - I am not sure if that affects
other things negatively or not...
(again, this is the 1.6.0_rc0 version)
--~-
I figured I'd just log an issue in trac instead
http://dev.rubyonrails.org/ticket/9717
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" group.
To post to this group, send email to prototype-cor