projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9e6850d
)
removed is_required message
edenc [Wed, 17 Sep 2008 23:14:10 +0000 (23:14 +0000)]
lib/Reaction/UI/Widget/Field/Mutable.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Reaction/UI/Widget/Field/Mutable.pm
b/lib/Reaction/UI/Widget/Field/Mutable.pm
index
2626987
..
73b14e3
100644
(file)
--- a/
lib/Reaction/UI/Widget/Field/Mutable.pm
+++ b/
lib/Reaction/UI/Widget/Field/Mutable.pm
@@
-25,8
+25,6
@@
extends 'Reaction::UI::Widget::Field';
my $vp = $_{viewport};
return unless $vp->has_message;
my $message = $vp->message;
- $message ||= $vp->name.' is required'
- if $vp->value_is_required && !$vp->value_string;
if ($message) {
arg message => localized $message;
render 'message';