projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
86db4be
)
double negation is hard to read
groditi [Wed, 26 Nov 2008 02:08:43 +0000 (
02:08
+0000)]
lib/Reaction/UI/ViewPort/Field/Role/Mutable.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Reaction/UI/ViewPort/Field/Role/Mutable.pm
b/lib/Reaction/UI/ViewPort/Field/Role/Mutable.pm
index
0acac38
..
f1704ad
100644
(file)
--- a/
lib/Reaction/UI/ViewPort/Field/Role/Mutable.pm
+++ b/
lib/Reaction/UI/ViewPort/Field/Role/Mutable.pm
@@
-95,7
+95,7
@@
sub sync_to_action {
};
sub sync_from_action {
my ($self) = @_;
- return unless !$self->needs_sync; # && $self->has_attribute;
+ return if $self->needs_sync;
if( !$self->has_message ){
if(my $error = $self->model->error_for($self->attribute) ){
$self->message( $error );