[Jifty-commit] r4951 - jifty/branches/jquery/share/web/static/js
Jifty commits
jifty-commit at lists.jifty.org
Sun Jan 27 16:15:17 EST 2008
Author: gugod
Date: Sun Jan 27 16:15:17 2008
New Revision: 4951
Modified:
jifty/branches/jquery/share/web/static/js/jifty.js
Log:
Fix one more runtime error.
Modified: jifty/branches/jquery/share/web/static/js/jifty.js
==============================================================================
--- jifty/branches/jquery/share/web/static/js/jifty.js (original)
+++ jifty/branches/jquery/share/web/static/js/jifty.js Sun Jan 27 16:15:17 2008
@@ -506,7 +506,7 @@
jQuery.extend(Form, {
getElements: function(element) {
- return jQuery.makeArray( jQuery(":input", element) );
+ return jQuery(":input", element).get();
},
// Return an Array of Actions that are in this form
getActions: function (element) {
@@ -514,7 +514,7 @@
jQuery(":input", element).each(function() {
if (Form.Element.getType(this) == "registration")
- elements.push(Form.Element.getAction(possible[i]));
+ elements.push(Form.Element.getAction(this));
});
return elements;
More information about the Jifty-commit
mailing list