Prior to r5449, you could use the Form.* methods on elements that
weren't actually forms. I think this was actually a good thing, you
could do:

  Form.disable('my_area')

This would disable all form elements in my_area, even though my_area
was not a form. As of r5449, Form.disable (as well as some other Form
methods) call methods like:

  $(form).getElements() instead of Form.getElements(form)

This will only work if the element is actually a form. Would anyone be
averse to going back to the old behaviour? It would simply mean
reverting back to things like Form.getElements instead of
$(form).getElements.

You could argue that you should only be using the Form methods on real
forms, but in practice it was useful not to have that restriction.

Thoughts?

-Jonathan.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to