Below is a patch for findChildElements to make it look up the element
if it is passed by id rather than DOM reference:
Index: Selector.js
===================================================================
--- Selector.js (revision 1488)
+++ Selector.js (working copy)
@@ -341,6 +341,7 @@
/** @id MochiKit.Selector.findChildElements */
findChildElements: function (element, expressions) {
+ element = MochiKit.DOM.getElement(element);
var uniq = function(arr) {
var res = [];
for (var i = 0; i < arr.length; i++) {
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---