Interesting Things
- Nesting a javascript generator within a javascript generator does not work:
<code>
new.rhtml:
link_to_function "myFunction" do |page|
page.insert_html :bottom, :partial => 'new_stuff'
end
_new_stuff.rhtml:
link_to_function "remove" do |page|
page.replace_html 'some_id', ""
end
</code>The quotes in the nested JS are not escaped properly.
- The plugin team introduced new email validation for the User plugin. They covered this with functional/unit tests within the plugin but projects using the plugin will need to update their own Selenium tests.