[Jifty-commit] jifty branch, master, updated. jifty-1.01209-11-gffc70e9
Jifty commits
jifty-commit at lists.jifty.org
Thu Jan 20 16:40:23 EST 2011
The branch, master has been updated
via ffc70e996c86c9c7496c9e5f2b5dbd5a23aad3eb (commit)
from f2b21af2ba763a7599e469aca14b51752207ea4f (commit)
Summary of changes:
lib/Jifty/Web/Form/Element.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit ffc70e996c86c9c7496c9e5f2b5dbd5a23aad3eb
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Jan 20 16:35:09 2011 -0500
Revert "* Upgrade a region error from a debug to a warning."
This reverts commit 5fe872503f62e23c0ca1cf7105c9a33422efd306.
You can reference regions that Jifty doesn't know about yet, and this
warning gets annoying in that case.
diff --git a/lib/Jifty/Web/Form/Element.pm b/lib/Jifty/Web/Form/Element.pm
index 64a7810..64361f0 100644
--- a/lib/Jifty/Web/Form/Element.pm
+++ b/lib/Jifty/Web/Form/Element.pm
@@ -475,7 +475,7 @@ sub _javascript_attrs_structure {
if ($region) {
@args{qw/mode path region/} = ('Replace', $region->path, $region->qualified_name);
} else {
- $self->log->warn("Can't find region ".$hook->{refresh});
+ $self->log->debug("Can't find region ".$hook->{refresh});
@args{qw/mode path region/} = ('Replace', undef, $hook->{refresh});
}
} elsif ((exists $hook->{refresh_self} and $current_region) or ($current_region and $hook->{args} and %{$hook->{args}})) {
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list