[Jifty-commit] r3903 - jifty/trunk/lib/Jifty/Web/Form/Field
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Aug 14 20:16:54 EDT 2007
Author: efunneko
Date: Tue Aug 14 20:16:51 2007
New Revision: 3903
Modified:
jifty/trunk/lib/Jifty/Web/Form/Field/Upload.pm
Log:
Removed some duplicated code
Modified: jifty/trunk/lib/Jifty/Web/Form/Field/Upload.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field/Upload.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field/Upload.pm Tue Aug 14 20:16:51 2007
@@ -35,34 +35,6 @@
}
-=head2 handler_allowed HANDLER_NAME
-
-Returns 1 if the handler (e.g. onclick) is allowed. Undef otherwise.
-
-=cut
-
-sub handler_allowed {
- my $self = shift;
- my ($handler) = @_;
-
- return {onchange => 1,
- onclick => 1,
- ondblclick => 1,
- onmousedown => 1,
- onmouseup => 1,
- onmouseover => 1,
- onmousemove => 1,
- onmouseout => 1,
- onfocus => 1,
- onblur => 1,
- onkeypress => 1,
- onkeydown => 1,
- onkeyup => 1
- }->{$handler};
-
-}
-
-
=head2 render_value
The 'value', rendered, is empty so that BLOBs and the like don't get
More information about the Jifty-commit
mailing list