[Jifty-commit] r4785 - jifty/trunk/lib/Jifty/Plugin
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Jan 4 09:15:59 EST 2008
Author: clkao
Date: Fri Jan 4 09:15:58 2008
New Revision: 4785
Modified:
jifty/trunk/lib/Jifty/Plugin/SinglePage.pm
Log:
SPA is not compatible with letme's across clicks/submit
for obvious reasons. So disable it when we got
temporary_current_user.
Modified: jifty/trunk/lib/Jifty/Plugin/SinglePage.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/SinglePage.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/SinglePage.pm Fri Jan 4 09:15:58 2008
@@ -54,6 +54,7 @@
sub _sp_link {
my $self = shift;
return sub {
+ return if Jifty->web->temporary_current_user;
my ( $clickable, $args ) = @_;
my $url = $args->{'url'};
if ( $url && $url !~ m/^#/ && $url !~ m{^https?://} && $url !~ m{^javascript:} ) {
More information about the Jifty-commit
mailing list