[Jifty-commit] r1227 - in jifty/trunk: lib/Jifty/Web/Form
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Jun 8 18:29:06 EDT 2006
Author: alexmv
Date: Thu Jun 8 18:29:05 2006
New Revision: 1227
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Web/Form/Element.pm
Log:
r13747 at zoq-fot-pik: chmrr | 2006-06-08 18:28:58 -0400
* We have to have a current_region to update ourselves
Modified: jifty/trunk/lib/Jifty/Web/Form/Element.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Element.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Form/Element.pm Thu Jun 8 18:29:05 2006
@@ -180,7 +180,7 @@
$self->log->debug("Can't find region ".$hook->{refresh});
@args{qw/mode path region/} = ('Replace', undef, $hook->{refresh});
}
- } elsif ((exists $hook->{refresh_self} and Jifty->web->current_region) or ($hook->{args} and %{$hook->{args}})) {
+ } elsif ((exists $hook->{refresh_self} and Jifty->web->current_region) or (Jifty->web->current_region and $hook->{args} and %{$hook->{args}})) {
# If we just pass arguments, treat as a refresh_self
@args{qw/mode path region/} = ('Replace', Jifty->web->current_region->path, Jifty->web->current_region);
} elsif (exists $hook->{delete}) {
More information about the Jifty-commit
mailing list