Author: abelevich
Date: 2008-12-18 12:03:17 -0500 (Thu, 18 Dec 2008)
New Revision: 11890
Modified:
trunk/framework/impl/src/main/javascript/prototype/prototype-1.6.0.3.js
Log:
https://jira.jboss.org/jira/browse/RF-5416
Modified: trunk/framework/impl/src/main/javascript/prototype/prototype-1.6.0.3.js
===================================================================
--- trunk/framework/impl/src/main/javascript/prototype/prototype-1.6.0.3.js 2008-12-18
17:01:56 UTC (rev 11889)
+++ trunk/framework/impl/src/main/javascript/prototype/prototype-1.6.0.3.js 2008-12-18
17:03:17 UTC (rev 11890)
@@ -2841,7 +2841,10 @@
// Add an explicit context to the selector if necessary.
if (root !== document) {
var oldId = root.id, id = $(root).identify();
- e = "#" + id + " " + e;
+
+ //
https://jira.jboss.org/jira/browse/RF-5416
+ e = "#" + id.replace(/:/g, '\\:') + " " + e
+ //e = "#" + id + " " + e;
}
results = $A(root.querySelectorAll(e)).map(Element.extend);