[Jifty-commit] r6613 - in jifty/trunk: lib/Jifty/Web/Form
Jifty commits
jifty-commit at lists.jifty.org
Tue Mar 17 10:59:10 EDT 2009
Author: alexmv
Date: Tue Mar 17 10:59:09 2009
New Revision: 6613
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Web/Form/Field.pm
Log:
r43252 at kohr-ah: chmrr | 2009-03-17 10:36:33 -0400
Remove use of a Class::Accessor where we don't need one
Modified: jifty/trunk/lib/Jifty/Web/Form/Field.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field.pm Tue Mar 17 10:59:09 2009
@@ -127,7 +127,7 @@
__PACKAGE__->mk_accessors(
qw(name _label _input_name type sticky sticky_value
- default_value _action mandatory ajax_validates ajax_canonicalizes
+ default_value mandatory ajax_validates ajax_canonicalizes
autocompleter preamble hints placeholder focus render_mode
max_length _element_id disable_autocomplete multiple)
);
@@ -328,13 +328,13 @@
my $self = shift;
if (@_) {
- $self->_action(@_);
+ $self->{action} = shift;
# weaken our circular reference
- weaken $self->{_action};
+ weaken $self->{action};
}
- return $self->_action;
+ return $self->{action};
}
More information about the Jifty-commit
mailing list