[Jifty-commit] r3402 - jifty/branches/fragcont/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Jun 8 13:15:16 EDT 2007
Author: clkao
Date: Fri Jun 8 13:15:14 2007
New Revision: 3402
Modified:
jifty/branches/fragcont/lib/Jifty/Web.pm
Log:
On internal redirect, reset nav and page_nav.
Modified: jifty/branches/fragcont/lib/Jifty/Web.pm
==============================================================================
--- jifty/branches/fragcont/lib/Jifty/Web.pm (original)
+++ jifty/branches/fragcont/lib/Jifty/Web.pm Fri Jun 8 13:15:14 2007
@@ -705,7 +705,10 @@
if ($spa && $self->current_region) {
# If we're within a region stack, we don't really want to
- # redirect. We want to redispatch.
+ # redirect. We want to redispatch. Also reset the things
+ # applied on beofre.
+ local $self->{navigation} = undef;
+ local $self->{page_navigation} = undef;
$self->replace_current_region($page);
Jifty::Dispatcher::_abort;
return;
More information about the Jifty-commit
mailing list