lib/celerity/elements/form.rb in jarib-celerity-0.0.6.2 vs lib/celerity/elements/form.rb in jarib-celerity-0.0.6.3
- old
+ new
@@ -9,9 +9,11 @@
DEFAULT_HOW = :name
#
# Submits the form.
#
+ # This method should be avoided - invoke the user interface element that triggers the submit instead.
+ #
def submit
assert_exists
@container.update_page @object.submit(nil)
end
\ No newline at end of file