[Jifty-commit] r1828 - jifty/trunk/lib/Jifty/Web/Form

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Aug 18 20:03:08 EDT 2006

Author: nelhage
Date: Fri Aug 18 20:03:08 2006
New Revision: 1828


Doc'ing the confirm => option to Javascript handlers.

Modified: jifty/trunk/lib/Jifty/Web/Form/Element.pm
--- jifty/trunk/lib/Jifty/Web/Form/Element.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Element.pm	Fri Aug 18 20:03:08 2006
@@ -101,6 +101,14 @@
 A hashref of arguments to pass to the effect when it is created.  These
 can be used to change the duration of the effect, for instance.
+=item confirm => STRING
+Prompt the user with a Javascript confirm dialog with the given text
+before carrying out the rest of the handlers. If the user cancels, do
+nothing, otherwise proceed as normal.
+TODO: This does not have a non-Javascript fallback method yet.

More information about the Jifty-commit mailing list