projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d4c952a
)
reverting wrong fix to Field::Role::Mutable
wreis [Thu, 7 Aug 2008 23:50:10 +0000 (23:50 +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
614a36c
..
b73114c
100644
(file)
--- a/
lib/Reaction/UI/ViewPort/Field/Role/Mutable.pm
+++ b/
lib/Reaction/UI/ViewPort/Field/Role/Mutable.pm
@@
-43,11
+43,7
@@
sub can_sync_to_action {
}
}
} else {
- if ( $self->model->attribute_is_required($attr) ) {
- my $tc = $attr->type_constraint;
- $self->message($tc->get_message) if $tc->has_message;
- return;
- }
+ return if $attr->is_required;
}
return 1;
};